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]";
 }
Exemplo 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;
 }
Exemplo 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;
 }
Exemplo n.º 5
0
 public override void Init(BehaviourSettings _cameraSettings, Camera _camera, FollowVectorType _fAxis)
 {
     base.Init(_cameraSettings, _camera, _fAxis);
     OnUpdateBehaviour += LookAtTarget;
     OnUpdateBehaviour += RotateAround;
 }
Exemplo n.º 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;
 }