示例#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();
 }