public static void Initialize()
        {
#if (UNITY_STANDALONE)
            DebugConsoleGUI_Standalone.CreateConsoleGUI();
#elif (UNITY_ANDROID || UNITY_IOS || UNITY_WP_8 || UNITY_WP_8_1)
            DebugConsoleGUI_Mobile.CreateConsoleGUI();
#endif
        }
Example #2
0
        private void Awake()
        {
            Instance = this;
            float top   = Screen.height - 40;
            float width = Screen.width - 20;

            m_Rect = new Rect(TEXT_LEFT_MARGIN, top, width, TEXT_HEIGHT);

            EraseString();
        }