Ejemplo n.º 1
0
 protected virtual void OnCellChangeOwner(CardManager newOwner)
 {
     if (Cell.OwnerManager != Owner)
     {
         OnBuildingDestroy();
         Owner.BuildingDestroy(this);
         Destroy(gameObject);
     }
 }