Ejemplo n.º 1
0
        private void InitWindows()
        {
            windowMain            = AddComponent <TWPWindow>();
            windowMain.WindowRect = new Rect(100, 200, 750, 400);
            windowMain.mbTWP      = this;
            windowMain.settings   = settings;

            windowSettings       = AddComponent <TWPWindowSettings>();
            windowSettings.mbTWP = this;

            windowSettingsBlockout            = AddComponent <TWPWindowSettingsBlockout>();
            windowSettingsBlockout.mbTWP      = this;
            windowSettingsBlockoutExtra       = AddComponent <TWPWindowSettingsBlockout>();
            windowSettingsBlockoutExtra.mbTWP = this;

            InitDebugWindow();
        }
Ejemplo n.º 2
0
        private void InitWindows()
        {
            windowMain = AddComponent<TWPWindow>();
            windowMain.WindowRect = new Rect(100, 200, 750, 400);
            windowMain.mbTWP = this;
            windowMain.settings = settings;

            windowSettings = AddComponent<TWPWindowSettings>();
            windowSettings.mbTWP = this;

            windowSettingsBlockout = AddComponent<TWPWindowSettingsBlockout>();
            windowSettingsBlockout.mbTWP = this;
            windowSettingsBlockoutExtra = AddComponent<TWPWindowSettingsBlockout>();
            windowSettingsBlockoutExtra.mbTWP = this;

            InitDebugWindow();
        }