Part 18.3: Reusable Lives Component for any Project [Basketball Shooting Game for Android Unity 2D]

Опубликовано: 30 Апрель 2026
на канале: Masteryst
422
4

Target of this series: Create Simple Basketball Shooting game for Android.

Mastering Unity Anchor and Pivot UI Link:    • Part 18.2:  Mastering UI Layout: Pivot & A...  

This is part of video series:    • Basketball Shooting Game for Android Unity 2D  

Suggestion: Watch it in 2x speed. I'm learning speaking English, so... It's quite slow and it's better on 2x speed ( In my personal opinion ).

Chapter:
00:00 What will we make today?
01:08 Create Lives Component Project
01:39 Prepare UI Canvas
02:00 Create Lives Container
02:22 Watch this first about Unity Anchor and Pivot
02:33 Create Lives Container Layout
04:37 Create Live Element/Component
05:53 Using Horizontal Layout Group
09:11 Create Lives Control Script
11:38 Initialize Lives
13:59 Wrong way but working accidentally ( May skip this )
16:08 Make Lives Control works
18:48 Make Reduce Lives Function
24:32 Fix Horizontal Layout Group Position Bug
26:26 Make Reset Lives Function
28:32 Make Lives Component Reusable
29:19 Make GameOver Condition & Event
31:01 Make Lives Control much more Flexible
36:48 Make Lives Control reusable ( as Unity Package ) on any Unity Project
38:12 How to Use Lives Control ( Unity Package ) on another Project?
40:06 How about some love? :D Thanks.

Thank you for watching and thanks for your support.