예제 #1
0
    public void DoBack(AiryUIBackButton backButton)
    {
        if (ActiveButtons.Contains(backButton))
        {
            int index = ActiveButtons.IndexOf(backButton);

            if (index == ActiveButtons.Count - 1)
            {
                backButton.GetComponentInParent <AiryUIAnimationManager>().HideMenu();
                backButton.GetComponent <AiryUIAnimatedElement>().HideElement();
            }
        }
    }
예제 #2
0
 public void DoBackOnCurrentObject(AiryUIBackButton backButton)
 {
     backButton.GetComponentInParent <AiryUIAnimationManager>().HideMenu();
     backButton.backButton.GetComponent <AiryUIAnimatedElement>().HideElement();
 }