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