Пример #1
0
 void Start()
 {
     controller       = GetComponent <CharacterController> ();
     playerAim        = GetComponent <PlayerAim> ();
     previousPosition = transform.position;
     speedMultiplier  = runSpeed;
 }
Пример #2
0
 void Start()
 {
     playerAim = GetComponent <PlayerAim> ();
 }