Unity + Playmaker: Update Slider Value as UI Text Percentage

Опубликовано: 08 Март 2025
на канале: Bliz Studio
854
21

In this Unity UI tutorial, learn how to use Playmaker to connect a slider value to UI text as a Percentage. Useful for displaying health, progress bars, settings, and more in Unity games.

My discord link
►   / discord  
► Download Unity at https://unity.com

Chapters:
00:00 Introduction
00:16 The TextMeshPro UI Text
01:04 Setting up a new Playmaker FSM to update Text
01:53 Create Float Variable to Store Fuel Amount
02:08 Get FSM Variable - Get Fuel Amount from the First FSM
02:49 Multiply Rocket Fuel variable x 100 to get Percent
03:41 Converting Float number into an Int(whole) number
04:01 Convert Int number into a Text String
04:40 Update on screen text with Text String
05:38 Quick Review of Steps
06:05 Testing and Conclusion

🚀 Download Trixel Rocket for free on App Store at: https://apple.co/31s4gzt

👉🏼 To Sign up for email updates on my latest tutorials and game progress.
https://sendfox.com/bliz
···
♥ Subscribe to my channel: https://bit.ly/31wL83n

👕 T-shirts! https://bit.ly/2CYvdBl

● Website: http://bliz.studio/
● Twitter:   / blizstudio  
● Instagram:   / blizstudio  
● Facebook:   / blizstudiogames  
···
► All content by Bliz Studio is 100% free. I believe that education should be available for everyone. Any support is truly appreciated so I can keep on making content free of charge.
···
♪ "Once Was" by Kwon @ Youtube