Пример #1
0
 private void Start()
 {
     m_RigidBody = GetComponent <Rigidbody> ();
     m_Capsule   = GetComponent <CapsuleCollider> ();
     mouseLook.Init(transform, cam.transform);
     playerHealth   = GetComponent <Health> ();
     PlayerPosition = GetComponent <PlayerBehaviorListener> ();
 }
Пример #2
0
 void Start()
 {
     plBehaviorListnr = GetComponent <PlayerBehaviorListener> ();
 }
Пример #3
0
 void Start()
 {
     player          = GetComponent <RigidbodyFirstPersonController> ();
     PlBehaviorListr = GetComponent <PlayerBehaviorListener> ();
     playerHealth    = GetComponent <Health> ();
 }