void Start()
 {
     thePowerManger = FindObjectOfType <ThePowerBonusManger>();
     bonusSound     = GameObject.Find("BonusSound").GetComponent <AudioSource>();
     speedBonus     = FindObjectOfType <SpeedBonusScale>();
 }
Ejemplo n.º 2
0
 // Use this for initialization
 void Start()
 {
     thePowerManger = FindObjectOfType <ThePowerBonusManger>();
 }