Unity C# Basic :: Part 29 :: Prefab / Create Bullet or Projectile

Опубликовано: 24 Октябрь 2024
на канале: Unity No Code | Leo N
164
8

💬 Turn on [CC] to translate to any Languages [JP/FR/GR/EN/VI/CN/KR/ES... all supported]

⭐ Early Access video :    / @unitynocode  

⭐ Unity Your First C# game :    • Unity Your First C# Game  
( This Tutorial series for New Unity Beginner or Visual Scripting people want to level up their Unity skills. )

⭐ I always recommend to learn basic Visual Scripting first to understand C# easier and learn it faster :    • How to learn Visual Scripting - Zero ...  

🎬 Part 28 : How to play Animation Attack :    • Unity C# Basic :: Part 28 :: How to p...  

✅ Download icon Meat (personal use only) : https://www.mediafire.com/file/ktxu91...

✅ C# script PlayerController : https://github.com/leo69n/TutorialUni...

✅ C# script BulletManager: https://github.com/leo69n/TutorialUni...

===
This Video : How to use Prefab and Create Bullet or Projectile
1. Create Bullet
2. Prefab
3. Create Object from Prefab
4. Instantiate Create Clone
5. Instantiate in front of Player
6. Instantiate Left Right Player
7. Add Velocity on Bullet
8. Destroy Bullet after a time
9. Destroy Bullet if hit
10. Bullet Ignore Layers

===
🍀 Code is boring ?... Let's try to make game no code with Visual Scripting ( Can make game in Unity after 1 week )
Learning Path for you :

🐾 Level 1 : Learn Unity basic in 2D game - For Beginner (all script and resource are FREE ) :    • Learn Unity Basic : Level 1 Beginner  

🐾 Level 2 : Learn Unity basic in 3D game - All videos (all script and resource are FREE ) :    • Learn Unity Basic : Level 2 - 3D Game  

🐾 Level 3 : Learn Unity basic 3rd Person game or 1st Person game (all script and resource are FREE ) :    • Learn Unity Basic : Level 3 - 3rd Per...  

🐾 Level 4 : Learn to use C# in Visual Scripting :    • Learn Unity Basic : Level 4 - C# in V...   ( Know how to use any C# plugins after this )

🐾 Level 5 : Make Multiplayer Online game with Netcode in Visual Scripting :    • Multiplayer Netcode in Visual Scripting  

=====
🔥 Download Visual Scripting Plus from Unity Asset Store to support me: https://assetstore.unity.com/packages...

=====
🏂 Any questions about Unity or Visual Scripting :   / discord   ( me @Leo69 )

Follow me at :
Instagram:   / leonnguyen0609  
TikTok:   / leonng_333  
Twitter : @unitynocode
Fb : unitynocode
Thread : https://www.threads.net/@unitynocode

#gamedev #gamedevelopment #unitynocode #csharp #madewithunity
=====
Chapters
0:00 - Intro
0:37 - Create Bullet
1:07 - Prefab
2:08 - Create Object from Prefab
3:27 - Instantiate Create Clone
4:25 - Instantiate in front of Player
6:09 - Instantiate Left Right Player
7:44 - Add Velocity on Bullet
10:47 - Destroy Bullet after a time
12:07 - Destroy Bullet if hit
13:03 - Bullet Ignore Layers