protected override void OnStart() { base.OnStart(); if (DelegateDefine.Instance.OnSceneLoadComplete != null) { DelegateDefine.Instance.OnSceneLoadComplete(); } m_AI = new DouDiZhuGameAI(); GameObject go = UIViewManager.Instance.LoadSceneUIFromAssetBundle(UIViewManager.SceneUIType.DouDiZhu); m_UISceneDouDZView = go.GetComponent <UISceneDouDZView>(); m_UISceneDouDZView.Reset(); }
protected override void OnAwake() { base.OnAwake(); Instance = this; m_btnYaobuqi.onClick.AddListener(OnPassClick); }