fix:1、添加项目。2、基本箭头生成
This commit is contained in:
@@ -0,0 +1,77 @@
|
||||
//
|
||||
// // using FGUI.ZM_Common_01;
|
||||
// using SGModule.Common.Base;
|
||||
// using UnityEngine;
|
||||
//
|
||||
// public class TopBarManager : SingletonMonoBehaviour<TopBarManager>
|
||||
// {
|
||||
// private TopBar _topBar;
|
||||
//
|
||||
//
|
||||
// public void RegisterTopBar(TopBar topBar)
|
||||
// {
|
||||
// _topBar = topBar;
|
||||
// }
|
||||
//
|
||||
// public void RemoveTopBar()
|
||||
// {
|
||||
// _topBar = null;
|
||||
// }
|
||||
//
|
||||
// public void ShowTopBar()
|
||||
// {
|
||||
// if (_topBar == null)
|
||||
// {
|
||||
// Debug.LogWarning($"ShowTopBar 没有可控制的TopBar!!!");
|
||||
// return;
|
||||
// }
|
||||
//
|
||||
// _topBar.visible = true;
|
||||
// }
|
||||
//
|
||||
// public void HideTopBar()
|
||||
// {
|
||||
// if (_topBar == null)
|
||||
// {
|
||||
// Debug.LogWarning($"HideTopBar 没有可控制的TopBar!!!");
|
||||
// return;
|
||||
// }
|
||||
//
|
||||
// _topBar.visible = false;
|
||||
// }
|
||||
//
|
||||
// /// <summary>
|
||||
// /// 设置顶部栏状态
|
||||
// /// </summary>
|
||||
// /// <param name="state">状态(0:都展示 1:展示头像与金币栏 2:金币栏 3:头像)</param>
|
||||
// public int SetTopBarState(int state)
|
||||
// {
|
||||
// if (_topBar == null)
|
||||
// {
|
||||
// Debug.LogWarning($"SetTopBarState 没有可控制的TopBar!!!");
|
||||
// return -1;
|
||||
// }
|
||||
//
|
||||
// if (state < 0)
|
||||
// {
|
||||
// return -1;
|
||||
// }
|
||||
//
|
||||
// var curState = _topBar.State.selectedIndex;
|
||||
// _topBar.visible = true;
|
||||
// _topBar.State.selectedIndex = state;
|
||||
// return curState;
|
||||
// }
|
||||
//
|
||||
// public com_gold GetGoldBar()
|
||||
// {
|
||||
// if (_topBar == null)
|
||||
// {
|
||||
// Debug.LogWarning($"SetTopBarState 没有可控制的TopBar!!!");
|
||||
// return null;
|
||||
// }
|
||||
//
|
||||
// return _topBar.btn_gold;
|
||||
// }
|
||||
//
|
||||
// }
|
||||
Reference in New Issue
Block a user