public override void OnEnable() { WindowTitle = "Auto Installer"; // Load textures tick = ImageUtility.Find("TickIcon"); cross = ImageUtility.Find("CrossIcon"); // Create ui controls CreateUI(); // Add a constant repaint listener EditorApplication.update += Repaint; }