Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Unity C# Mobile Game - Make your own Hole Game from Scratch!
Rating: 4.6 out of 5(53 ratings)
1,057 students

Unity C# Mobile Game - Make your own Hole Game from Scratch!

Learn how to use advanced techniques to create a 3D Hole mobile game in Unity with C# !
Last updated 9/2025
English
English [Auto],

What you'll learn

  • How to create Holes in any mesh without changing its geometry
  • How to use the Stencil Buffer like a Pro
  • How to add Physics for a convincing hole effect
  • How to create a Mobile Joystick-Like Control from scratch

Course content

4 sections28 lectures3h 37m total length
  • Project Setup2:07

    Create a new 3D URP project in Unity 2022, name it 3D whole course, import the provided assets, remove README and tutorial info, and prepare to discuss the stencil buffer.

  • The Stencil Buffer10:01

    Explore how to use the stencil buffer as a mask to carve a hole in a ground plane with a cylinder, including a custom hole mask shader and stencil settings.

  • Making the Hole real11:00

    Create a real hole by using Unity's collision matrix and a layer switch trigger to toggle between default and no collisions layers.

  • Improving the Hole Model2:58

    Refine the hole model by adjusting a Blender object, exporting to Unity, and adding a mesh collider; position and scale along y and x, prepping visuals for the next lesson.

  • Cute Graphics Improvements6:50

    Enhance Unity visuals for a 3d hull mobile game by enlarging the ground, texturing with tiling, adjusting the hole, and creating materials, Blender bevel modifier, and a prefab.

  • Adding a Joystick-Like Control10:44

    Learn to implement a joystick-like touch control in Unity by calculating and clamping finger movement, normalizing direction, and moving the player with a frame-rate aware speed.

  • Camera Follow3:07

    Add Cinemachine to follow the player with a virtual camera, set follow and lookat, adjust offset and damping, and organize the scene with environment and gameplay elements for growth mechanics.

  • Hole Wants To Grow 1/26:56

    Implement a destroy trigger that increases the hole size when it eats collectibles, passing each object's size to the player size script and destroying the eaten object.

  • Hole Wants To Grow 2/28:35

    Learn how to implement a growth mechanic in a Unity mobile hole game by increasing the player's size when collecting items, using a scale value, a threshold, and scale increments.

  • Project Files0:05

Requirements

  • Be familiar with the Unity Game Engine
  • Have some basic C# knowledge
  • The Will to Learn some amazing tips & tricks

Description

Hey there! Have you always wanted to add holes to your mobile game ?


No?


Well, me neither, but trust me, it's a HOLE lot of fun!


In this course, you'll learn how to add those satisfying black holes to any mesh without messing with its geometry. No need to worry about stuff like vertices, triangles, faces, or any complicated algorithms.


I’ll teach you how to use the Stencil Buffer like a pro to achieve that perfect hole-y effect.


But wait, there's more! We'll also add some Physics to make sure everything falls smoothly into your new holes.

Plus, I'll teach you some neat tricks to make the illusion work like a charm.


And that's not all! To make things even cooler, I'll show you how to create your very own joystick control. Because who wouldn't want to be in control of the black hole that swallows everything?


Finally, we are going to use some cute kawaii graphics to make the course more enjoyable. For the occasion, I've specially crafted a Frog-Shaped Hole. You'll definitely find it cute (I hope so at least)


So, what are you waiting for? Grab this course before it's too late and get ready to level up your game dev skills!


Enroll Now !

Who this course is for:

  • Aspiring devs who want to spice up their mobile game
  • Aspiring game creators who want to grow their skillset