Exemplo n.º 1
0
 public override void Init()
 {
     base.Init();
     this.mEffectCache   = new DictionaryView <uint, GameObject>();
     this.guideImpl      = new NewbieWeakGuideImpl();
     this.mToaddConfList = new ListView <NewbieGuideWeakConf>();
     this.guideImpl.Init();
 }
Exemplo n.º 2
0
 public override void UnInit()
 {
     this.RemoveAllEffect();
     this.CloseGuideForm();
     this.guideImpl.UnInit();
     this.guideImpl = null;
     this.mToaddConfList.Clear();
     this.mToaddConfList = null;
     base.UnInit();
 }
Exemplo n.º 3
0
    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);
        }
    }