mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
bufferTimeMultiplierForClamping cmd line arg
This commit is contained in:
parent
9b9fe83dc5
commit
c352c354ec
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user