public override void Init(CM_CameraSettings _settings, Camera _camera, FollowVectorType _fAxis)
 {
     base.Init(_settings, _camera, _fAxis);
     debugColor         = Color.green;
     OnUpdateBehaviour += FollowTarget;
     OnUpdateBehaviour += LookAtTarget;
 }
 public override void Init(CM_CameraSettings _settings, Camera _camera, FollowVectorType _fAxis)
 {
     base.Init(_settings, _camera, _fAxis);
     OnUpdateBehaviour += RotateAround;
     OnUpdateBehaviour += LookAtTarget;
     name += "[ROTATE AROUND]";
 }
Ejemplo n.º 3
0
 public override void Init(CM_CameraSettings _cameraSettings, Camera _camera, FollowVectorType _fAxis)
 {
     base.Init(_cameraSettings, _camera, _fAxis);
     OnUpdateBehaviour           += FollowTarget;
     OnUpdateBehaviour           += SetTargetRotation;
     IM_InputManager.OnMouseAxis += SetCameraRotation;
 }
Ejemplo n.º 4
0
 public virtual void Init(CM_CameraSettings _cameraSettings, Camera _camera, FollowVectorType _fAxis)
 {
     if (!_camera)
     {
         return;
     }
     camera          = _camera;
     cameraTransform = _camera.transform;
     cameraSettings  = _cameraSettings;
     fAxis           = _fAxis;
 }
Ejemplo n.º 5
0
 public void SetSettings(CM_CameraSettings _settings) => cameraSettings  = _settings;