var Health = 2;
var Money = 1;
function OnControllerColliderHit(hit : ControllerColliderHit)
{
var coin = GameObject.FindWithTag("coin");
if(hit.gameObject.tag == "coin")
{
GUI_Stats.MONEY = GUI_Stats.MONEY + Money;
audio.Play();
Destroy(coin);
}
}
this is attached to may player so he can collect coin however i want to destroy the coins separately however the coins all destroy because there all tagged as coin how do i destroy the each individual coin please help thanx