private void Start()
        {
            m_RigidBody = GetComponent <Rigidbody>();
            m_Capsule   = GetComponent <CapsuleCollider>();
            mouseLook.Init(transform, cam.transform);

            hfConfig = FindObjectOfType <HFConfig>();
        }
Example #2
0
 private void Start()
 {
     hfConfig = FindObjectOfType <HFConfig>();
 }