RemoveBarrack() public method

public RemoveBarrack ( Barrack, b ) : void
b Barrack,
return void
Beispiel #1
0
 void OnDestroy()
 {
     //	销毁兵营时如果已经加入兵营列表
     if (didAdd)
     {
         //	从兵营列表中移除
         bc.RemoveBarrack(this);
     }
 }