This video covers how to call C# code in Unity directly from an Ink Dialogue File using Ink External Functions.
It references a dialogue system built in some previous tutorials; however, you don't need of seen those to understand what's happening in this one. That said, the below playlist contains all of the videos I've done on this topic which may help if you're just getting started with writing dialogue with Ink and Unity.
I hope this helps and best of luck! 🙂
► INK + UNITY TUTORIAL PLAYLIST
This playlist includes all videos I've done on Ink + Unity.
• Learn Ink (video game dialogue langua...
► TIMESTAMPS
0:00 Intro
0:44 Ink External Functions
1:51 External Functions vs Tags
3:18 Project Overview
4:03 Implementing an External Function
5:59 Playing Emotes Example
8:58 External Functions at the end of the dialogue
10:12 Code Cleanup
12:38 Outro
► GITHUB PROJECT
The '8-ink-external-functions-example' branch contains the code by the end of this tutorial.
https://github.com/shapedbyrainstudio...
► RESOURCES
Ink Official Website
https://www.inklestudios.com/ink/
Ink + Unity Integration Documentation (including External Functions)
https://github.com/inkle/ink/blob/mas...
► MUSIC
The backing music is custom made by @themaykit.
/ themaykit
► DISCORD
Come ask questions, suggest a video topic, or just hang out!
📱Discord ➔ / discord
► THE PATH OF REN
Wishlist The Path of Ren on Steam!
🎮 Steam (The Path of Ren) ➔ https://store.steampowered.com/app/16...
► SOCIAL MEDIA LINKS
🐦 Twitter ➔ / shapedbyrain
📷 Instagram ➔ / shapedbyrainstudios
🕑 TikTok ➔ / shapedbyrainstudios
🌐 Website ➔ https://ShapedByRainStudios.com
► SUPPORT
Any support is much appreciated! I may receive a commission on any assets purchased using the below Unity Asset Store link.
🛍️ Unity Asset Store Affiliate Link ➔ https://assetstore.unity.com/?aid=110...
☕ Buy me a coffee! (Ko-fi) ➔ https://ko-fi.com/ShapedByRainStudios
#gamedev #ink #unity