Exemplo n.º 1
0
 public static BuffMgr GetInstance()
 {
     if (instance != null)
     {
         return(instance);
     }
     instance = new BuffMgr();
     return(instance);
 }
Exemplo n.º 2
0
 private void ApplyChangeInfoBuff(Entity entity, SprotoType.info_item change_info)
 {
     BuffMgr.GetInstance().HandleBuff(entity, change_info.value);
 }