Skip to content

Quick Setup

Ali Badpa edited this page Dec 22, 2025 · 1 revision

Import the Package

  1. Download the RealMethod package from GitHub or Unity Package Manager.
  2. In Unity, go to Assets > Import Package > Custom Package and select the package.
  3. Make sure all files are imported.

Import RealMethod Package with Git

Create a Main Scene

  1. Go to File > New Scene.
  2. Save the scene as MainWorld.
  3. In the Hierarchy, create an empty GameObject named World.

Add the World Component

  1. Select the World GameObject.
  2. In the Inspector, click Add Component.
  3. Add the World script.
  4. Assign the Default Player Prefab in the inspector (drag your player prefab here).

Add Player Spawn Points

  1. In the Hierarchy, create a new empty GameObject named PlayerSpawn.
  2. Add the PlayerStarter component to it.
  3. Set PosName to "Start" (or any name you like).
  4. Move it to the position where the player should spawn.

Add Game Managers

  1. Create empty GameObjects as children of World for each manager (e.g., UIManager, AudioManager).
  2. Add your manager scripts to these objects.
  3. Managers will automatically initialize when the scene starts.

Play the Scene

  1. Press Play in Unity.
  2. The system will:
  3. Spawn the player at the spawn point.
  4. Initialize all managers.
  5. Handle services automatically.

RootA ChildA SubChildA RootB ChildB

Clone this wiki locally