A Unity ID allows you to buy and/or subscribe to Unity products and services, shop in the Asset Store and participate in the Unity community.
Separate names with a comma.
While that's indeed highly likely, you're still making assumptions about the underlying code. It's better to just do it the right way from the...
See line ten of OP's code (ES3 is Easy Save 3): bool snapTurn = ES3.Load<bool>("Snap Turn");
Optimization starts with using the right algorithms and data structures. Very important. Doing everything in the naive way just means you end up...
It's more the opposite: Code is the most important thing. Without it you have nothing.
My reason for saying this is because it's a bad practice to have heap allocations all over the place for no good reason by making everything a...
Don't look at me, I'm not the one who necro'd this thread, I just missed the original posting date. Using a class for a tile in a grid is already...
I recommend not overdoing OOP and using a struct for the tiles and using arrays to hold the struct instances.
.Net has a built in function in the DataTable class: System.Data.DataTable table = new System.Data.DataTable(); string expression = "(123 + 456)...
You could probably get it faster still by using bmp files instead of png or jpg. These two take a while to decode, while bmp files are just raw...
This is probably a lot faster (the textures have to be in png or jpg format): string file = @"C:\Users\Thorham\Desktop\1.png"; byte[] fileData =...
If you change the wind directions to an int for windDirection.currentWind (north = 0, south = 1, east = 2, west =3), you can do something like...
Yeah, I missed that, sorry. Very strange that that code with the gameObjectArray doesn't work.
You're trying to null the array elements without knowing if the array is of a nullable type. If it's an array of ints for example, then you can't...
It has it's own RAM which is much better than shared RAM. Absolutely. So it's probably crappy support for linear color space on my card. Guess...
Why is it that when I use linear color space instead of gamma, the frame rate halves? Seems very strange that gamma color space performs at twice...
Solved it by going through the builtin shader source code. Put the code below in a .cginc file (for example standardShader.cginc), include the...
How can I use halfLambert lighting (or any custom lighting) while also being able to still use the smoothness and metallic properties? When I...
I highly doubt that that's what's going on here. When I split the model into separate meshes for each material in Blender, then the vertex count...
I have a skinned character model that's imported from an FBX file. In play mode the stats show that this model has 13.5k vertices. With the script...
@ADZ_: Avoid using System.Random, it's broken. Unity's random number generator is much better, so it's better to fix the issue.