Beispiel #1
0
 private void Awake()
 {
     _inst         = this;
     _gameObject   = gameObject;
     _continueRect = ContinueBtn.GetComponent <RectTransform>();
     transform.SetAsFirstSibling();
     ContinueBtn.onClick.AddListener(Continue);
 }
Beispiel #2
0
 private void Start()
 {
     if (PlayerInfo.GuideStep == 0)
     {
         GuidePanel.GetInst().ShowPanel();
     }
     else
     {
         m_BattleScene.OnBattleInit();
     }
 }
Beispiel #3
0
 private void OnDestroy()
 {
     _inst = null;
 }