private void Awake()
 {
     booster = GetComponent <ThrusterBooster>();
     center  = new Vector3(Screen.width / 2, Screen.height / 2, 0);
     if (!billboardTarget)
     {
         Debug.LogError("Need to assign billboard");
     }
 }
Exemplo n.º 2
0
 private void Awake()
 {
     booster = GetComponent <ThrusterBooster>();
     move    = GetComponent <Movement>();
 }