Beispiel #1
0
    public static AvatarChoiceView Load()
    {
        AvatarChoiceView view = UIView.Load("Views/AvatarChoiceView", OverriddenViewController.Instance.transform) as AvatarChoiceView;

        view.name = "AvatarChoiceView";
        return(view);
    }
    public void ClickNextButton()
    {
        SoundManager.Instance.PlaySoundEffect(SoundType.BUTTON_CLICK);

        if (_state == AvatarCreationViewState.STATS)
        {
            UIViewController.DeactivateUIView("AvatarStatsView");
            UIViewController.ActivateUIView(AvatarChoiceView.Load());
            NextButton.Deactivate();
            _state = AvatarCreationViewState.GEAR;
        }
    }