Interactive Story Objects & Scriptable Object Events
Storytelling with C#
In this Unity / C# tutorial, create story dialogues for your items, signs, letters, and NPCs with an easy drag-and-drop scriptable object event system.
🔸 You can download this project here
--- IMPORTANT--- Import Instructions:
Before importing the package, go to Window > Package Manager and then in "Packages: Unity Registry" install "Input System." Also import "TextMeshPro" and "ProBuilder."
Then you can import (Assets > Import Package). If you imported first, get the packages, delete the imported folder and import again.
What would you like us to cover next? Let us know on Discord!
_______
Our fantasy assets (goblin, flying eye, etc.) are all here:
https://assetstore.unity.com/publishers/4645
Using scriptable objects as an event system was first introduced by Ryan Hipple at Austin Unite 2017:
This concept is also used in Unity's Open Project. I'm using some things from the Open Project ("InteractionManager") and have simplified them. The "InputReader" SO comes from:
Check out Infallible Code's discussion on SO events (and Ryan Hipple's comment):
And thank you to Ciro @ Unity (Open Project) for your help on Discord!
The thumbnail icons come from https://game-icons.net/
Spellbook by Delapouite
Totem Head by Lorc
Galleon by Lorc
Stabbed Note by Delapouite
(CC By 3.0)
https://game-icons.net/1x1/delapouite/spell-book.html
https://game-icons.net/1x1/lorc/totem-head.html