public void Deactivated() { if (DebugLog) { print("Deactivated menu"); } StartGameAnimator.SetBool("Enabled", false); StartGameVillage.DestroyAnimation(); foreach (var Button in Buttons) { Button.Deactivated(); } Timer(FadeOutTime, delegate { gameObject.SetActive(false); }); }