public override void SetPluginSettings(ActionCameraConfig settings) { base.SetPluginSettings(settings); SetBetweenTime(settings.cameraShoulderPositioningTime / (settings.inBetweenCameraEnabled ? 2 : 1)); betweenCamera.SetBetweenTime(settings.cameraShoulderPositioningTime / (settings.inBetweenCameraEnabled ? 2 : 1)); betweenCamera.SetPluginSettings(settings); betweenCamera.offset = new Vector3(0, -settings.cameraBodyVerticalTargetOffset, -settings.cameraShoulderDistance); CalculateOffset(); }
public override void SetPluginSettings(ActionCameraConfig settings) { pluginSettings = settings; SetBetweenTime(settings.cameraBodyPositioningTime / (settings.inBetweenCameraEnabled ? 2 : 1)); betweenCamera.SetBetweenTime(settings.cameraBodyPositioningTime / (settings.inBetweenCameraEnabled ? 2 : 1)); betweenCamera.SetPluginSettings(settings); betweenCamera.offset = new Vector3(0, 1f, settings.cameraBodyDistance); CalculateOffset(); }