Bezi回来了
This commit is contained in:
@@ -16,7 +16,7 @@ namespace Cielonos.MainGame.Effects.Feedback
|
||||
|
||||
[TitleGroup("FOV设置")]
|
||||
[LabelText("FOV曲线")]
|
||||
public FloatCurveChannel fovCurve = FloatCurveChannel.CreateDefault(remapMax: 10f);
|
||||
public FloatCurveChannel fovCurve = FloatCurveChannel.CreateDefault();
|
||||
|
||||
protected override void TriggerEvent(FeedbackContext context)
|
||||
{
|
||||
@@ -30,11 +30,6 @@ namespace Cielonos.MainGame.Effects.Feedback
|
||||
|
||||
public override bool Validate(out string error)
|
||||
{
|
||||
if (!fovCurve.active)
|
||||
{
|
||||
error = "FOV curve is not enabled.";
|
||||
return false;
|
||||
}
|
||||
error = null;
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user