Episode 11 of the first person controller series has dropped and this time we're going to be adding a stamina system to stop your players being able to sprint indefinitely
Join me and learn your way through the Unity Game Engine, the C# language and the Visual Studio editor. Remember, if this video was useful then DROP A LIKE! 👍
💯 Want to help me out and allow me to keep making these tutorials? Consider supporting the channel on Patreon:
/ comp3interactive
🤩 SPONSORED LINKS:
https://www.gigatank3000.com
/ gigatank3000
💬 Join the Discord community here:
/ discord
📱 Follow me on Twitter:
/ comp3int
📱 Play my games:
PC/Mac/Linux: https://comp3interactive.itch.io/
Google Play: https://bit.ly/2TisAQo
#UnityTutorial #Unity3D #Comp3interactive #GameDev
0:00 Intro
1:08 Setting up the UI
2:02 Adding the Variables
4:08 Using Stamina
6:22 Regenerating Stamina
8:10 Finishing off the Stamina Function
9:54 Adding the Actions
11:35 Failed Example
11:54 Fixing the Script
12:10 Working Example
12:41 Outro