void Awake() { s_Instance = this; controller = GetComponent <CharacterController>(); cam = camMount.GetComponentInChildren <Camera>(); anim = GetComponentInChildren <Animator>(); shot = GetComponent <UbhShotCtrl>(); mouseLook.Init(transform, camMount.transform); layermask = 1 << 8; layermask = ~layermask; ResetDash(); }
private void Awake() { Look.Init(transform, cam); input = GetComponent <SimplePlayerInput>(); }