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]";
 }
Beispiel #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;
 }
Beispiel #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;
 }
Beispiel #5
0
 public override void Init(BehaviourSettings _cameraSettings, Camera _camera, FollowVectorType _fAxis)
 {
     base.Init(_cameraSettings, _camera, _fAxis);
     OnUpdateBehaviour += LookAtTarget;
     OnUpdateBehaviour += RotateAround;
 }
Beispiel #6
0
 // Start is called before the first frame update
 public override void Init(BehaviourSettings _cameraSettings, Camera _camera, FollowVectorType _fAxis)
 {
     base.Init(_cameraSettings, _camera, _fAxis);
     OnUpdateBehaviour += CameraShake;
 }