Bandwidth optimizations are very important for networking projects, especially now since UNET is getting bigger and bigger. Often times we need ‘short’ or ‘byte’ instead of ‘int’.
When will we see Mathf functions for long, short, byte, etc.? Of course, they can be implemented manually. But it’s not very elegant to use ‘Mathf.Min’ for int and then ‘MyUnityEnhancements.Min’ for short and long. It makes the code much harder to read, especially for beginners or for people buying Asset Store projects.
Could any Unity developer perhaps take a few minutes to add support for those other data types, at least for Mathf.Min/Max/Clamp?
This thread ended in 2016, when everything needed to be said, was said. Did you read the other replies? The Math library in C# has plenty of support for Int64, the Mathf library in Unity is meant to cover fIoat math additions.