| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- using JCUnityLib;
- public class HomeView_BottomBarView : MonoBehaviour
- {
- // Start is called before the first frame update
- void Start()
- {
-
- }
- // Update is called once per frame
- //void Update()
- //{
-
- //}
- public void GoToConnect() {
- Debug.Log("进入连接页面");
- AudioMgr.ins.PlayBtn();
- ViewMgr.Instance.ShowView<DeviceViewInfrared>();
- }
- public void GoToSetup()
- {
- AudioMgr.ins.PlayBtn();
- GameObject settingsViewObj = ViewManager2.getGameObjectAndShowView(ViewManager2.Path_SettingsView);
- settingsViewObj.GetComponent<SmartBow.SettingsView>().ShowBoxSound(true);
- }
- public void GoToShop()
- {
- AudioMgr.ins.PlayBtn();
- if (ShopView.ins) return;
- ViewMgr.Instance.ShowView<ShopView>();
- }
- public void GoToGuider()
- {
- AudioMgr.ins.PlayBtn();
- //跳转至 设置-教程视频
- GameObject settingsViewObj = ViewManager2.getGameObjectAndShowView(ViewManager2.Path_SettingsView);
- settingsViewObj.GetComponent<SmartBow.SettingsView>().OnClick_BtnNewUser();
- //NewUserGuiderManager.ins.ReviewNewUserGuide();
- }
- public void GoToNewUser()
- {
- AudioMgr.ins.PlayBtn();
- //ViewManager2.ShowView(ViewManager2.Path_ConnectGuidanceView);
- }
- public void GoToFriends() {
- Debug.Log("进入好友页面");
- AudioMgr.ins.PlayBtn();
- ViewManager2.ShowView(ViewManager2.Path_SocialView);
- }
- public void GoToRanking()
- {
- Debug.Log("进入排名页面");
- AudioMgr.ins.PlayBtn();
- ViewManager2.ShowView(ViewManager2.Path_RankingView);
- }
- }
|