Scriptable Cookbook: Damage Type System With ScriptableObject Enums (Unity Tutorial)

Veröffentlicht am: 11 April 2020
auf dem Kanal: Matt MirrorFish
12,971
461

In this Unity3d tutorial we learn how to create and use ScriptableObjects to replace C# enums or enumerations in a flexible and extensible approach. We'll use this to setup a simple elemental damage system with different damage types like fire, ice, and poison. The idea is that we can check equality against the ScriptableObject asset, instead of checking against an Enum entry. We can also add data or code to these objects as needed. This is an adaptation of an approach shown by Richard Fine and Ryan Hipple in their respective Unite talks which can be found in the Scriptable Cookbook playlist here:

   • Scriptable Cookbook: Unity ScriptableObjec...  


Auf dieser Seite können Sie das Online-Video Scriptable Cookbook: Damage Type System With ScriptableObject Enums (Unity Tutorial) mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Matt MirrorFish 11 April 2020 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 12,971 Mal angesehen und es wurde von 461 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!