Загрузка...

68 Unity OOP Tutorial: Scene Management + New Input System Migration (GitHub Pull/Clone)

00:00 Intro: Session 68 Goals (OOP + Simulation Game)
00:17 Get Patreon Files (GitHub link + UserControl code + Layout)
00:51 Open GitHub Desktop + Verify Account Login
01:22 Push vs Pull Explained (Why we Clone)
01:37 Clone Repo Using URL (.git link)
02:26 Verify Cloned “OOPS Start Files” in Explorer
02:41 Create New Repo: simulation_oops (Unity .gitignore)
03:35 Copy Starter Files (Exclude .git) into New Repo
03:58 Commit 171 Files + Publish to GitHub
04:39 Add Project in Unity Hub (Open with Unity 6.3)
05:33 Apply Satvik Layout (Load .wlt if needed)
06:00 Unity Launch Changes + Commit Unity-generated Files
06:32 Check Active Input Handling (Old → New)
06:53 Switch to New Input System (Restart Unity)
07:13 Install Input System Package (Package Manager)
07:40 Upgrade EventSystem in Main Scene + Save
08:05 Upgrade EventSystem in Menu Scene + Save
08:15 Test Game → Input Breaks (Old code issue)
08:32 Open UserControl.cs in VS Code
09:05 Replace Script with Provided New Input Code
09:47 Test Gameplay: Right-click/Selection Works
10:02 Commit: Upgraded to New Input System + Push
10:33 Menu Scene Overview (UI Structure + Buttons)
11:26 Test Menu: Start/Exit Not Working Yet
12:15 Identify MenuUIHandler on Canvas
12:52 Add SceneManagement Namespace
13:16 Create StartGame() → LoadScene(1)
14:25 Hook Start Button OnClick() → StartGame
15:16 Test Start Button → Loads Main Scene
15:25 Main Scene: Back to Menu Button Not Working
15:51 Open UIMainScene Script (Canvas)
16:20 Create BackToMenu() → LoadScene(0)
17:16 Hook Button OnClick() → BackToMenu
17:39 Test BackToMenu ↔ Start Navigation
18:05 Add QuitGame() for Exit Button
19:09 Why Application.Quit() Doesn’t Work in Editor
19:40 Add #if UNITY_EDITOR Quit Logic (Stop Play Mode)
21:43 Test Exit Button in Editor (Playback Stops)
22:10 Commit: Menu Buttons Working + Push
23:20 Next Session Preview: Data Persistence

Get free resources for this course from the below patreon link

https://www.patreon.com/posts/145923169

Finished Games can be tested with the link below

https://play.unity.com/en/user/41416812-3867-41f0-b452-aba3bf0fd77d

Session 68 – Object Oriented Programming in Unity (Simulation Game Project)
In this session, we continue our OOP (Object-Oriented Programming) journey by building a Unity simulation game and learning OOP concepts through real project workflow.

✅ What you’ll learn in this video:

How to clone / pull a GitHub repository using GitHub Desktop

How to create a fresh Unity repo (simulation_oops) and publish it to GitHub

How to upgrade a Unity project from Old Input System → New Input System

How to install the Input System package and upgrade the EventSystem in scenes

How to replace old input code (Input.GetMouseButtonDown) with the New Input System code

How to implement Scene Flow / Scene Management using SceneManager.LoadScene()

How to make Start, Back to Menu, and Exit buttons work properly

How to make Exit work in both Unity Editor and Build using #if UNITY_EDITOR

How to properly commit and push changes to GitHub step-by-step

🎮 Scenes used in this project:

Menu Scene (Index 0)

Main Scene (Index 1)

📌 Resources (from Patreon):

68_github_pull_link.txt (GitHub clone URL)

68_user_control_cs_code.txt (New Input System script)

sattvic_layout.wlt (optional Unity layout)

💡 Next Session:
In Session 69, we will start working on Data Persistence (saving/loading data in the simulation project).

If you found this helpful, please Like, Share, and Subscribe for more Unity + OOP project-based learning sessions! 🙌

#Unity #OOP #ObjectOrientedProgramming #UnityTutorial #Unity6 #NewInputSystem #SceneManagement #GitHubDesktop #GameDevelopment #SimulationGame

Видео 68 Unity OOP Tutorial: Scene Management + New Input System Migration (GitHub Pull/Clone) канала Sudheendra S G
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять