Esempio n. 1
0
        protected virtual void Awake()
        {
            this.InitHotfixMB();

            if (this.mMBHotfixObj != null)
            {
                mMBHotfixObj.Awake();
            }
        }
Esempio n. 2
0
        private void InitHotfixMB()
        {
            if (mMBHotfixObj == null)
            {
                mMBHotfixObj = HotfixApp.Instance.Instantiate <HotfixMB>(mHotfixName);
            }

            if (mMBHotfixObj != null)
            {
                mMBHotfixObj.SetHotfixName(mHotfixName);
                mMBHotfixObj.Initialize(this.mObjects, this.ToBaseDataObjects(mBaseDatas));
                mMBHotfixObj.Awake();
            }
        }