public void DangerZoneAction() { if (activeAction != null) { return; } planetState = PlanetState.DangerZone; int duration = guiScript.OnActionPerform(ActionType.DangerZone); PrepareActionExecution(duration, "DangerZone"); }