예제 #1
0
 private void Die()
 {
     if (hb != null)
     {
         hb.WorkerRemovedFromBuilding(this);
     }
     else
     {
         Debug.Log("ERROR HB NIT SET");
     }
     Destroy(this.gameObject, 1f);
 }