示例#1
0
        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();
        }
示例#2
0
 protected override void OnAwake()
 {
     base.OnAwake();
     Instance = this;
     m_btnYaobuqi.onClick.AddListener(OnPassClick);
 }