コード例 #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
ファイル: ObeliskLog.cs プロジェクト: herpdederp/hudconsole
 private void ButtonHandler(Button target)
 {
     ObeliskConsole.OpenStackTraceForLog(consoleLog);
 }