View by Component
Physics , Physics 2D , Audio , UI , Tilemap , Cinemachine , Timeline , Network , Animation , Animator , Sprites , Scripting , Tips , Colliders , 2D Colliders , Rigidbody , Rigidbody 2D , Interaction , Editor , Game Mechanics , In-App Purchase , Material , General , Prefab , ProGrids , Light , Rendering , Ads , Scriptable Objects , Events , Level Design , Making Of , Assets , Procedural , ProBuilder , Particles , Machine Learning , News & Announcements , Conference , Enemy & NPC , PlayerPrefs , Post Processing , Interview , Shader , VFX , TextMeshPro , InputSystem , XR
ScriptableObject Events In Unity (C# Tutorial)
Uploaded by Thousand AntShare: Twitter Facebook
In this Unity tutorial we learn how to use ScriptableObject based events in order to create a simple, easy to edit and assign via the Inspector workflow that keeps game logic decoupled and hopefully should prove scalable in the long term.
Using events in C# is a well known pattern but here we add a little bit of additional Unity specific context by turning those events into ScriptableObject assets and having them call Unity Events, which are essentially serializable function calls which we can wire up via the Inspector.
This talk is based closely on the talk Unite Austin 2017 - Game Architecture With Scriptable Objects by Ryan Hipple of Schell Games (no relation lol), you can find that talk here: https://www.youtube.com/watch?v=raQ3iHhE_Kk
You can also find the link to Hipple's Github with the code shown in the video here: https://github.com/roboryantron/Unite2017/tree/master/Assets
---
Learn Unity and game development with experienced indie game developers. Subscribe for tutorials, devlogs, and gamedev advice uploaded weekly.
Visit us on Discord, ask questions and share your work: https://discord.gg/AGHZvCf
Follow us on Twitter: https://twitter.com/thousandant
Visit our website: http://thousandant.com
Using events in C# is a well known pattern but here we add a little bit of additional Unity specific context by turning those events into ScriptableObject assets and having them call Unity Events, which are essentially serializable function calls which we can wire up via the Inspector.
This talk is based closely on the talk Unite Austin 2017 - Game Architecture With Scriptable Objects by Ryan Hipple of Schell Games (no relation lol), you can find that talk here: https://www.youtube.com/watch?v=raQ3iHhE_Kk
You can also find the link to Hipple's Github with the code shown in the video here: https://github.com/roboryantron/Unite2017/tree/master/Assets
---
Learn Unity and game development with experienced indie game developers. Subscribe for tutorials, devlogs, and gamedev advice uploaded weekly.
Visit us on Discord, ask questions and share your work: https://discord.gg/AGHZvCf
Follow us on Twitter: https://twitter.com/thousandant
Visit our website: http://thousandant.com