Esempio n. 1
0
 // Start is called before the first frame update
 void Start()
 {
     t               = gameObject.transform;
     rb              = gameObject.GetComponent <Rigidbody>();
     weapon          = GetComponent <Weapon>();
     thrustVector    = t.position;
     thrusterVisuals = gameObject.GetComponent <ThrusterVisuals>();
 }
Esempio n. 2
0
 // Start is called before the first frame update
 void Start()
 {
     rb = GetComponent <Rigidbody>();
     thrusterVisuals = GetComponent <ThrusterVisuals>();
 }