Пример #1
0
 void Start()
 {
     motor = GetComponent <_PlayerMotor>();
     joint = GetComponent <ConfigurableJoint>();
     rb    = GetComponent <Rigidbody> ();
 }
Пример #2
0
 void Start()
 {
     cam   = Camera.main;
     motor = GetComponent <_PlayerMotor> ();
 }