常用方法
常用方法
常用方法
常用方法
public override void OnInspectorGUI() { DrawDefaultInspector(); GuiManager guiManager = (GuiManager)target; if (GUILayout.Button("Enable all Sections")) { guiManager.EnableAllSections(); } if (GUILayout.Button("Disable all Sections")) { guiManager.DisableAllSections(); } }