#if VRC_SDK_VRCSDK2 using UnityEngine; using System.Collections; using System.Collections.Generic; using UnityEditor; using System; namespace VRCSDK2 { [CustomEditor(typeof(VRCSDK2.VRC_PlayerMods))] public class VRCPlayerModsEditor : UnityEditor.Editor { VRCSDK2.VRC_PlayerMods myTarget; void OnEnable() { if(myTarget == null) myTarget = (VRCSDK2.VRC_PlayerMods)target; } public override void OnInspectorGUI() { myTarget.isRoomPlayerMods = EditorGUILayout.Toggle("isRoomPlayerMods", myTarget.isRoomPlayerMods); List playerMods = myTarget.playerMods; for(int i=0; i