So I was yesterday investing trough the ScriptableObject stuff and their benefit on memory allocation and had a doubt about a pooling system I made.
Here is how I have things setted up, I have a class that only contains general information including an array of rects that are used for an uv animation system. What I do is to create those classes once at runtime if they are needed in the scene ordering them in a dictionary, then the components that needs those classes will search trough the...
Need some clarification about referencing classes and their content
Here is how I have things setted up, I have a class that only contains general information including an array of rects that are used for an uv animation system. What I do is to create those classes once at runtime if they are needed in the scene ordering them in a dictionary, then the components that needs those classes will search trough the...
Need some clarification about referencing classes and their content