/// <summary> /// Animate arrow on close. /// </summary> /// <returns>The coroutine.</returns> protected virtual IEnumerator CloseCoroutine() { var rect = Toggle.transform as RectTransform; yield return(StartCoroutine(Animations.RotateZ(rect, 0.2f, 0, -90))); }