Esempio n. 1
0
 // Use this for initialization
 protected override void Start()
 {
     base.Start();
     _safe = GameObject.FindGameObjectWithTag(vaultTag);
     stateMachine = GetComponent<StateMachine>();
     stateMachine.MaxSpeed = Speed;
 }
Esempio n. 2
0
 // Use this for initialization
 protected override void Start()
 {
     base.Start();
     safecracker = GameObject.FindGameObjectWithTag("SafeCracker");
     stateMachine = GetComponent<StateMachine>();
     stateMachine.MaxSpeed = Speed;
 }
Esempio n. 3
0
 // Use this for initialization
 protected override void Start()
 {
     base.Start();
     _safe = GameObject.FindGameObjectWithTag("Vault");
     _truck = GameObject.FindGameObjectWithTag("Truck");
     _stateMachine = GetComponent<StateMachine>();
     _stateMachine.MaxSpeed = Speed;
 }
Esempio n. 4
0
 // Use this for initialization
 protected override void Start()
 {
     base.Start();
     _stateMachine = GetComponent<StateMachine>();
     _stateMachine.MaxSpeed = Speed;
 }