Hello!
I’ve been searching for this for a while but i couldn’t find any answer…Are there any lower precision floats i can use in JavaScript?Like Halfs for shaders?Or like the Bytes and Shorts for ints…
Thanks in advance!
Hello!
I’ve been searching for this for a while but i couldn’t find any answer…Are there any lower precision floats i can use in JavaScript?Like Halfs for shaders?Or like the Bytes and Shorts for ints…
Thanks in advance!
Here are all the types. The framework types apply to all languages in Unity; the only differences with Unityscript compared to the C# types is that bool is boolean, string is String, and object is Object.
–Eric
Thanks a ton,Eric,so i can’t go lower than floats…
Not built in, you could always make (or google) a custom type.