void OnDeath(Unit u) { if (u == m_unit) { Tile_Loot.AddLoot(u.currentTile, cat); } }
void Start() { // MDebug.Log("add for " + Category); Tile_Loot.AddLoot(this.GetComponent <Tile>(), Category); Destroy(this); }