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("ShowBlocked Awake()"); this.enabled = false; Instance = this; _windowRect.center = new Vector2(Screen.width * 0.5f, Screen.height * 0.5f); }