Skip to main content

Opening the Project

Download Project Files

First, download the project files and extract them to a known location on your computer (e.g., C:\Projects or ~/Documents/Projects).

Open the Project in Unity Hub

Opening the project in Unity Hub links it to the correct Unity Editor version and gives you access to all story files and testing tools.

Steps:

  1. Open the Unity Hub.
  2. Click the Projects tab on the left sidebar. Unity Hub Projects Tab
  3. Click the Open button in the top-right corner.
  4. In the file dialog, navigate to the folder where you extracted the project.
  5. Select the main project folder and click Select Folder.
  6. The project will now appear in your projects list. Click on it to open it in the Unity Editor. (The first time you open a project, it may take several minutes to import all assets).

Understanding the Project Structure

The project organizes all files into specific folders. Knowing this structure is essential for locating files and preventing errors. Project Hierarchy

Important Folders:

  • Assets/_Main/Scenes
    Contains the Unity scene files (e.g., InitScene, MainScene).
  • Assets/_Main/Debug/Play
    Contains files used for testing and debugging stories directly within the editor.
  • Assets/_Main/Story/Content
    Contains all story assets, including chapter data and thumbnails.
  • Assets/_Main/Story/Metadata
    Contains metadata files that define story information (like title, description, author).
  • Assets/s_Main/Story/Sections
    Contains configuration files for story sections. These categorize stories into different groups, which are then displayed on the game's home page.
info

Tip: Each story should have its own folder within the relevant directories to keep its content, metadata, and assets organized and separate from other stories.

Running the Project

You can run the project directly inside the Unity Editor to see how the stories will appear to players.

Steps:

  1. In the Unity Editor, locate the Project panel (usually at the bottom).
  2. Navigate to the Assets/_Main/Scenes folder.
  3. Double-click the InitScene scene file to open it.
    Open InitScene
  4. Click the Play button (a triangle icon) at the top-center of the Unity Editor.
  5. The application will launch in the Game view panel.
  6. Click the Play button again to stop running the project.
warning

Important: Changes made while the editor is in "Play Mode" (i.e., after you click Play) are temporary and will be lost when you stop. Always stop Play Mode before making permanent edits.

The Game view panel provides an exact preview of what a player will see on their device.