docs.unity3d.com
    Show / Hide Table of Contents

    Template hierarchy

    This topic explains how the template is organized when you open it.

    Assets

    The template has three folders with custom content that you can browse.

    The most relevant folders include:

    1. Gizmos
      Contains all the custom icons that you will see in the template.
    2. StreamingAssets
      Contains the songs that the mediaplayer retrieves songs from (StreamingAssets > Music).
    3. HMI Template
      Contains the all project data.

    HMI Template folder

    The HMI Template folder shows how the project is structured and contains all the data you see visualized in Play mode.

    The most interesting folders to explore include:

    Data

    Contains all the data files of the project. The project relies on scriptable objects to manage data across scenes.

    Prefabs

    Contains each service as a prefab so that you can drag-and-drop them into the Scene.

    The Prefabs folder also contains reusable UI systems, such as:

    • AutoEventSystem
      When the multiple scenes are additively loaded, this system makes sure that only one event system is instantiated.
    • Scene Manager
      Contains utility scripts included in each scene, such as the delegate manager that you can use to fire and respond to cross-scene events.
    • Skin Swapper
      Lets you exchange skins in scenes.

    Scripts

    This folder contains all the scripts that the template uses:

    • Charging Station
      Electric vehicles can charge their batteries by plugging into a charging station.
    • Controls Manager
      Map user keyboard input
    • Services
      Generic services, currently only contains a service to get contact information.
    • UI
      All UI Scripts for the cluster, HVAC, and IVI. Also contains the skinning framework in ui/skins.
    • Units
      Supports unit conversions between kilometers/miles and temperature in Fahrenheit/Celsius.
    • Vehicles
      All vehicle behavior, such as braking, accelerating, battery, transmission are in the behaviors folder. The data folder contains all the scriptable objects the template uses to describe the vehicle. The service folder contains the services that you can use to manipulate the vehicle system.
    • MultiScreenFramework
      Implementation of the multi-screen framework.
    • Util
      Utility scripts, such as extensions of common Unity objects.

    Timelines

    Some scenes, such as the cluster, rely on timelines to manage startup and transmission animations. T

    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on September 15, 2021