| | |
| | | using UnityEngine; |
| | | using System.Collections; |
| | | using UnityEngine.UI; |
| | | using Cysharp.Threading.Tasks; |
| | | |
| | | |
| | | public class DebugController : MonoBehaviour |
| | |
| | | |
| | | private void OnEnable() |
| | | { |
| | | m_Version.text = string.Format("{0}_{1} 分支:{2}", |
| | | VersionConfig.Get().version, VersionConfig.Get().buildIndex, VersionConfig.Get().branch); |
| | | #if UNITY_EDITOR |
| | | m_Version.text = string.Empty; |
| | | #else |
| | | m_Version.text = string.Format("{0}_{1} 分支: {2}", |
| | | VersionConfig.config.version, VersionConfig.config.buildIndex, VersionConfig.config.branch); |
| | | #endif |
| | | } |
| | | |
| | | |
| | |
| | | { |
| | | if (!UIManager.Instance.IsOpened<GMInputWin>()) |
| | | { |
| | | UIManager.Instance.OpenWindow<GMInputWin>(); |
| | | UIManager.Instance.OpenWindowAsync<GMInputWin>().Forget(); |
| | | } |
| | | } |
| | | |
| | | public void OpenGMCommond() |
| | | { |
| | | UIManager.Instance.OpenWindow<GMCmdPanel>(); |
| | | UIManager.Instance.OpenWindowAsync<GMCmdPanel>().Forget(); |
| | | } |
| | | |
| | | public void CleanNewBranchSet() |