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

        view.name = "GearEquipView";
        return(view);
    }
Example #2
0
    public void ClickStoreButton()
    {
        SoundManager.Instance.PlaySoundEffect(SoundType.BUTTON_CLICK);
        UIViewController.DeactivateUIView("ClientMainView");
        UIViewController.ActivateUIView(BackgroundView.Load());
        UIViewController.ActivateUIView(GearEquipView.Load());
        AvatarView avatarView = AvatarView.Load();

        UIViewController.ActivateUIView(avatarView);
        StoreRefreshButtonObj.SetActive(true);
        StoreRefreshButtonObj.transform.SetAsLastSibling();
        avatarView.StoreRefreshButtonObj = StoreRefreshButtonObj;
    }