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 }
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 }