Scene Setup
7_ScriptableSubAssets
Last updated
7_ScriptableSubAssets
Last updated
This scene is similar to the 1_ScriptableVariables_Example_Scene, with the difference that we are using sub-assets. In the project window, there are two different scriptable objects wrappers: PlayerEvents and PlayerStats.
PlayerEvents contains all the events related to the player as sub-assets (OnDamaged, OnHealed, OnDeath).
PlayerStats contains all stats related to the player as sub-assets (speed, health, max health).