예제 #1
0
        private void InitDebugWindow()
        {
#if DEBUG
            windowDebug               = AddComponent <TWPWindowDebug>();
            windowDebug.mbTWP         = this;
            windowDebug.Visible       = true;
            windowDebug.WindowRect    = new Rect(Screen.width - 300, 50, 300, 200);
            windowDebug.DragEnabled   = true;
            windowDebug.ClampToScreen = false;
            windowDebug.settings      = settings;
#endif
        }
예제 #2
0
        private void InitDebugWindow()
        {
#if DEBUG
            windowDebug = AddComponent<TWPWindowDebug>();
            windowDebug.mbTWP = this;
            windowDebug.Visible = true;
            windowDebug.WindowRect = new Rect(Screen.width-300, 50, 300, 200);
            windowDebug.DragEnabled = true;
            windowDebug.ClampToScreen = false;
            windowDebug.settings = settings;
#endif
        }