void InitializeGUI() { permaPruneWindow = this.gameObject.AddComponent <PermaPruneWindow>(); modFilterWindow = this.gameObject.AddComponent <ModFilterWindow>(); showBlocked = this.gameObject.AddComponent <ShowBlocked>(); showRenamed = this.gameObject.AddComponent <ShowRenamed>(); }
void Awake() { Log.Info("ShowRenamed Awake()"); this.enabled = false; Instance = this; renamedWindowRect.center = new Vector2(UnityEngine.Screen.width * 0.5f, UnityEngine.Screen.height * 0.5f); }