Пример #1
0
        protected override void Awake()
        {
            base.Awake();

            if (m_instance == null)
            {
                m_instance = this;
            }
            else
            {
                Debug.LogError("Two instances of ObeliskConsole detected.");
                Destroy(gameObject);
            }

            colorSet = Instantiate(m_colorSet);

            GetComponents();
            LogAwake();
            ApplyColorSet();
        }
Пример #2
0
 private void ButtonHandler(Button target)
 {
     ObeliskConsole.OpenStackTraceForLog(consoleLog);
 }