示例#1
0
    public void BeBuff(int buffId)
    {
        DBBuffConf conf = DBBuffTable.GetRecord(buffId);
        Buff       buff = new Buff();

        buff.Start(this, conf);
        buffList.Add(buff);
    }
示例#2
0
 void OnDestroy()
 {
     instance = null;
 }
示例#3
0
 void Awake()
 {
     instance = this;
     Init();
 }