コード例 #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
        }