private void Start() { m_RigidBody = GetComponent <Rigidbody> (); m_Capsule = GetComponent <CapsuleCollider> (); mouseLook.Init(transform, cam.transform); playerHealth = GetComponent <Health> (); PlayerPosition = GetComponent <PlayerBehaviorListener> (); }
void Start() { plBehaviorListnr = GetComponent <PlayerBehaviorListener> (); }
void Start() { player = GetComponent <RigidbodyFirstPersonController> (); PlBehaviorListr = GetComponent <PlayerBehaviorListener> (); playerHealth = GetComponent <Health> (); }