private void SetInstance() { if (m_instance == null) { m_instance = this; } else if (m_instance != this) { Destroy(gameObject); } }
public virtual void Run() { ExampleUI.GetInstance().ClearLog(); }
public void Log(string message, int newline = 1) { ExampleUI.GetInstance().Log(message, newline); }
public void SetExample() { ExampleUI.GetInstance().SetExample(this); }
public void Close() { ExampleUI.GetInstance().Close(); }
public void Open() { ExampleUI.GetInstance().Open(this); }