public BehaveDebugWindow () { hideFlags = HideFlags.DontSave; if (s_Instance != null) { Debug.LogError ("Trying to create two instances of singleton. Self destruction in 3..."); Destroy (this); return; } DebugWindow.Init (this); s_Instance = this; title = "Behave debugger"; }
public BehaveDebugWindow() { hideFlags = HideFlags.DontSave; if (s_Instance != null) { Debug.LogError("Trying to create two instances of singleton. Self destruction in 3..."); Destroy(this); return; } DebugWindow.Init(this); s_Instance = this; title = "Behave debugger"; }
public void OnDestroy () { s_Instance = null; DebugWindow.Instance.OnDestroy(); }
public void OnDestroy() { s_Instance = null; DebugWindow.Instance.OnDestroy(); }