Exemplo n.º 1
0
 void Awake()
 {
     aerodynamics      = GetComponent <PlayerAerodynamicsController>();
     sparkleController = GameObject.Find("SparkleRising").gameObject.GetComponent <SparkleController>();
     turbineBoost      = GetComponent <TurbineBoost>();
     windBoost         = GetComponent <WindBoost>();
 }
Exemplo n.º 2
0
 void Awake()
 {
     turbineBoost = GameObject.FindGameObjectWithTag("Player").GetComponent <TurbineBoost>();
 }