public void EnableImmediate() { if (UIManager.Enable(this)) { locale.Load(); OnEnable(); Active = true; OnGUI = Draw; } }
public void Enable() { if (Active) { return; } if (UIManager.Enable(this)) { locale.Load(); OnEnable(); OnGUI = animator.StartOpen(() => { }); Active = true; } }