Esempio n. 1
0
 private void Start()
 {
     _animator = GetComponent <Animator>();
     _ref      = GetComponent <MovementBetweenPoints>();
     _collider = GetComponent <CapsuleCollider>();
 }
Esempio n. 2
0
 // Use this for initialization
 void Start()
 {
     _animator = GetComponent <Animator>();
     _ref      = GetComponent <MovementBetweenPoints>();
     _rb       = GetComponent <Rigidbody>();
 }