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