How Unity Scriptable Objects made this Weapon System Great

Описание к видео How Unity Scriptable Objects made this Weapon System Great

What are Scriptable Objects in Unity - https://docs.unity3d.com/Manual/class...

How to create a FPS Controller in Unity -    • FPS Controller with Unity's New Input...  

What is OnBeforeSerialize and AfterDeserialize in Scriptable Objects Unity - https://docs.unity3d.com/550/Document...

#unity #unity3d #gamedev #devlog #indiegames #indiegamedev #madewithunity #csharp #unitytutorials

Scriptable Objects help us manage our codebase and handle Game Logic Specifics in a much more scalable way,
join me and learn how to apply Scriptable Objects to build a reusable Weapon System.

A Scriptable Object / Scriptable Objects is a data container that you can use to save large amounts of data, independent of class instances. One of the main use cases for ScriptableObjects is to reduce your Project’s memory usage by avoiding copies of values. This is useful if your Project has a Prefab
that stores unchanging data in attached MonoBehaviour scripts.

Every time you instantiate that Prefab, it will get its own copy of that data. Instead of using the method, and storing duplicated data, you can use a ScriptableObject to store the data and then access it by reference from all of the Prefabs. This means that there is one copy of the data in memory.

Follow on Twitter for updates on new videos and sneak peeks :)
  / odiazjs  

::: Blender to Unity Workflow :::
   • How to Import Blender (2.8 to 3.2) to...  

::: Photon Engine PUN2 :::
https://www.photonengine.com/en-US/PUN

::: MUSIC :::
bedtime after a coffee by Barradeen |   / barradeen  
Creative Commons Attribution-ShareAlike 3.0 Unported
https://creativecommons.org/licenses/...
Music promoted by https://www.chosic.com/free-music/all/


::: KEYWORDS :::

unity scriptable objects, unity tutorials, scriptable objects unity, c# tutorial, unity c#, game development, unity game development, unity game dev, unity weapons, unity weapon system, unity game tutorial unity events singleton unity

Комментарии

Информация по комментариям в разработке