Пример #1
0
        private void Start()
        {
            _fpsCam.Init(CameraTransform, _character);
            _orbitCam.Init(CameraTransform, CameraTransform.parent);

            GameManager.Instance.OnGamePause += ToggleActivation;
        }
Пример #2
0
 void Start()
 {
     mouseLook.Init(transform, cameraObject.transform);
     controller = GetComponent <CharacterController>();
 }