Example #1
0
 // Use this for initialization
 protected override void Start()
 {
     base.Start();
     _safe = GameObject.FindGameObjectWithTag(vaultTag);
     stateMachine = GetComponent<StateMachine>();
     stateMachine.MaxSpeed = Speed;
 }
Example #2
0
 // Use this for initialization
 protected override void Start()
 {
     base.Start();
     safecracker = GameObject.FindGameObjectWithTag("SafeCracker");
     stateMachine = GetComponent<StateMachine>();
     stateMachine.MaxSpeed = Speed;
 }
Example #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;
 }
Example #4
0
 // Use this for initialization
 protected override void Start()
 {
     base.Start();
     _stateMachine = GetComponent<StateMachine>();
     _stateMachine.MaxSpeed = Speed;
 }