public void ClickStatsButton() { SoundManager.Instance.PlaySoundEffect(SoundType.BUTTON_CLICK); UIViewController.DeactivateUIView("ClientMainView"); UIViewController.ActivateUIView(BackgroundView.Load()); UIViewController.ActivateUIView(HistoryView.Load()); }
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; }