Skip to main content

How do I start?

Project Phoenix works using just one scene. The scene (we will call it MainScene from this point onwards) must contain some key elements:

  • A Main Camera prefab;
  • A SceneContainer GameObject;
    • A Player prefab inside the SceneContainer;
    • A FollowerUnimon prefab inside the SceneContainer;
    • A CameraPlane prefab inside the SceneContainer;
  • A GameController GameObject with a GameController Component;
    • A AudioController GameObject with a AudioController Component and an Audio Listener Component;
    • A TimeController GameObject with a TimeController Component;
  • A GUIManager prefab;
    • A TitleCanvas prefab inside the GUIManager;
  • A l18N prefab;

These are all the GameObjects needed inside the scene to make it work. All prefabs can be found inside the Assets/Prefabs folder or the Assets/Prefabs/GUI folder.

For more informations about the design choices and what specific GameObjects and Components are for, please refer to the Design Information document.

tip

You can see examples of already working MainScenes in the Scenes folder. You can check the Demo scene for reference.

Scene setup#

Although all the objects are in there, the scene still requires to be set up.
First, in the GameController gameObject you need to add the references. The Scene Container fields should reference the SceneContainer GameObject and Map Container should reference the MapContainer. The Start Map value should reference the map where you would like a New Game to start.