void Awake() { m_ratControler = GetComponent <RatControler>(); m_ratCamera = GetComponentInChildren <RatCamera>(); m_cam = GetComponentInChildren <Camera>(); Enable(false); }
private void Start() { m_RigidBody = GetComponent <Rigidbody>(); m_Capsule = GetComponent <CapsuleCollider>(); mouseLook = GetComponent <RatCamera>(); mouseLook.Init(transform, cam.transform); DisableRat(); }