bufferTimeMultiplierForClamping cmd line arg

This commit is contained in:
MrGadget1024 2023-02-24 22:52:18 -05:00
parent 9b9fe83dc5
commit c352c354ec

View File

@ -160,6 +160,9 @@ void ProcessCmdLineArgs()
if (arg.StartsWith("/r:", StringComparison.InvariantCultureIgnoreCase))
if (int.TryParse(arg.Remove(0, 3), out sendRate))
Application.targetFrameRate = sendRate;
if (arg.StartsWith("/m:", StringComparison.InvariantCultureIgnoreCase))
float.TryParse(arg.Remove(0, 3), out bufferTimeMultiplierForClamping);
}
}
#endif