public override void Init() { base.Init(); this.mEffectCache = new DictionaryView <uint, GameObject>(); this.guideImpl = new NewbieWeakGuideImpl(); this.mToaddConfList = new ListView <NewbieGuideWeakConf>(); this.guideImpl.Init(); }
public override void UnInit() { this.RemoveAllEffect(); this.CloseGuideForm(); this.guideImpl.UnInit(); this.guideImpl = null; this.mToaddConfList.Clear(); this.mToaddConfList = null; base.UnInit(); }
public override void Init() { base.Init(); this.mEffectCache = new DictionaryView <uint, GameObject>(); this.guideImpl = new NewbieWeakGuideImpl(); this.mToaddConfList = new ListView <NewbieGuideWeakConf>(); this.mWeakGuideTriggerTime = new Dictionary <uint, int>(); this.guideImpl.Init(); List <uint> weakMianLineIDList = Singleton <NewbieGuideDataManager> .GetInstance().GetWeakMianLineIDList(); int count = weakMianLineIDList.get_Count(); for (int i = 0; i < count; i++) { this.mWeakGuideTriggerTime.Add(weakMianLineIDList.get_Item(i), 0); } }