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]"; }
public override void Init(CM_CameraSettings _cameraSettings, Camera _camera, FollowVectorType _fAxis) { base.Init(_cameraSettings, _camera, _fAxis); OnUpdateBehaviour += FollowTarget; OnUpdateBehaviour += SetTargetRotation; IM_InputManager.OnMouseAxis += SetCameraRotation; }
public virtual void Init(CM_CameraSettings _cameraSettings, Camera _camera, FollowVectorType _fAxis) { if (!_camera) { return; } camera = _camera; cameraTransform = _camera.transform; cameraSettings = _cameraSettings; fAxis = _fAxis; }
public void SetSettings(CM_CameraSettings _settings) => cameraSettings = _settings;