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