Hello, can you help me ?
My animation isn’t starting from my code:
coin = CoinControll.Coin;
var anim: Animation;
anim = GetComponent.<Animation>();
if (coin>0){
GetComponent.<Animation>().Play();
}
[43538-beztytułu.png|43538]
What is wrong ?