void OnDisable() { if (windowState == GUI_state.normal) { windowState = GUI_state.NeverStart; } DoDisable(); }
void startAnim() { if (buttonState == GUI_state.Onstart) { return; } buttonState = GUI_state.normal; begin(); }
void buttonStartAnimComplete() { buttonState = GUI_state.normal; begin(); }
public void changeState(GUI_state state) { windowState = state; }