Hold Button to Load Level - 2D Platformer Unity #11
Автор: Game Code Library
Загружено: 2023-10-27
Просмотров: 5840
In this video we're going to check for our level's progress, and when it's at 100% we'll enable our player to hold down a button and load the next level after holding for long enough! We'll be using Unity's actions and event and Unity's input system. Lots of new exciting features :-)
All source code for all videos I have made and will make in the future can be found on my Patreon:
https://www.patreon.com/posts/9156854...
Check out the series previous videos:
• FULL Platformer Tutorial Series - Unity 2D
Sprite sheet: https://www.kenney.nl/assets/1-bit-pl...
Discord: / discord
I'll be posting new videos every week, so be sure to subscribe to see what kind of adventure we can go on together! I'm excited! :-)
If you have any suggestions, feedback or questions, be sure to comment below! Any opinions will help me out on this journey ♡
0:00 - Intro
0:11 - Hold UI Setup
1:16 - HoldToLoadLevel Script
2:58 - Input System + Setup
3:58 - Hold UI Working!
4:09 - HoldComplete Event Action
4:31 - GameController Event Subscribe
4:55 - Levels Setup
5:46 - Level Loading Script
7:49 - Final Setup
8:05 - All Working!
8:40 - Outro
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: