How to Make UI React to Gameplay with UnityEvents & UnityActions C# Tutorial
Chris' Tutorials
Showing how to use UnityActions to have a UI Manager react to events like players taking damage to create a damage text on the screen. The UI manager and the player (or other characters) don't need to know about each other ~ instead one invokes the event and the other one subscribes to it!
Scripts and Assets ➣ https://www.patreon.com/posts/72580038
➣ Downloadable Assets, Video Courses, and Other Places to Follow Me https://www.patreon.com/christutorials https://chris-tutorials.itch.io/ https://linktr.ee/ChrisTutorials
◢ Chris Recommends ◥ Master Skills with Skillshare Video Courses ►► https://www.skillshare.com/r/user/christutorials?gr_tch_ref=on Save Money Shopping Online with Honey Extension ►► https://joinhoney.com/ref/qd04c25
00:00 - What to Expect 00:36 - Cramped Code 02:10 - UI Manager Script 03:11 - Using UnityActions and UnityEvents 06:19 - Invoke a UnityAction (Trigger It) 07:12 - Why Use UnityActions and UnityEvents 07:55 - Floating Health Text 08:53 - Wrapup ... https://www.youtube.com/watch?v=zZZYZcHnuf8
35516013 Bytes