Exemplo n.º 1
0
 void OnDestroy()
 {
     if (itemSp != null)
     {
         itemSp.RemoveItemAtLocation(this.gameObject, locationId);
     }
 }