public void Disappear() { state = ButtonState.EInactive; zobject.Disappear(); if (zobjectLabel != null) { zobjectLabel.Disappear(); } }
public void UpdateTransition_UseZobject() { if ((int)type == (int)TransitionType.e_WhirlingShape) { spinningWord.Update(); } zobject.Update(); if (!transitionReceding) { if (nearlyReady) { timeToDoStuff = true; transitionReceding = true; transitionTimer = 0; this.StartReceding(); } else { if (zobject.state == ZobjectState.kZobjectShown) { nearlyReady = true; } } } else { if (zobject.state == ZobjectState.kZobjectHidden) { inTransition = false; if (spinningWord != null) { spinningWord.Disappear(); } } } }