Example #1
0
 void Start()
 {
     probe = GameObject.FindGameObjectWithTag("Player").GetComponent <ProbeObject>();
 }
Example #2
0
 // Use this for initialization
 void Start()
 {
     probe = GameObject.FindGameObjectWithTag("Player").GetComponent <ProbeObject>();
     DeathCamera.enabled = false;
 }
Example #3
0
 private void Start()
 {
     probe     = GameObject.FindGameObjectWithTag("Player").GetComponent <ProbeObject>();
     StartFuel = probe.GetFuel();
     MaxFuel   = StartFuel;
 }
Example #4
0
 void Start()
 {
     probe       = GameObject.FindGameObjectWithTag("Player").GetComponent <ProbeObject>();
     rb          = GameObject.FindGameObjectWithTag("Player").GetComponent <Rigidbody>();
     rb.position = GlobalObject.Instance.Position;
 }