コード例 #1
0
ファイル: UCL_DebugInspector.cs プロジェクト: tim099/UCL_Core
 private void OnDestroy()
 {
     if (ins == this)
     {
         ins = null;
     }
 }
コード例 #2
0
ファイル: UCL_DebugInspector.cs プロジェクト: tim099/UCL_Core
 public static void Show()
 {
     if (ins == null)
     {
         ins = Core.GameObjectLib.Create <UCL_DebugInspector>("UCL_DebugInspector", null);
         DontDestroyOnLoad(ins.gameObject);
     }
     ins.ShowInspector();
 }