void AnimatePlanet() { if (Time.time >= planetStateTransitionTime) { planetState = PlanetState.Available; CooldownAnimation.SetActive(false); distinguishedMenuButton = activeAction; includeDistinguiedButton = true; CollapseMenu(); actionCooldown[activeAction] = Time.time + guiScript.GetActionCooldownDuration(); activeAction = null; } }