The Unity developer creates a basic template for these containers, defining what information each object should contain. And what are Scriptable Objects? Simply put, they are data containers. To make things easier in a situation like this, you have Scriptable Objects at your disposal. Even if you’re not in a team, this method would just be harder on you as you work. This especially becomes an issue if you have a larger team to work with, so you’ll want to make things easier to change for other team members. In addition, if you must make any changes to the in-game objects, it’s simply not as efficient to do so when there are several copies of prefabs lying around. For starters, this method uses up more of your memory, something you may need to conserve if you plan on making a large game. While you could use Unity prefabs to do this and then change the values of each individual copy of the prefab, this is an inconvenient way to go about the task. Suppose you’re making a role-playing video game and you need an easier way to assign statistics, properties, and much more to various items. How to Use Scriptable Objects in Unity - Simple Talk
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |