docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct TemplateData

    Data for a MARS scene template in the TemplatesWindow

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: UnityEditor.MARS
    Assembly: Unity.MARS.Editor.dll
    Syntax
    [Serializable]
    [MovedFrom("Unity.MARS")]
    public struct TemplateData

    Fields

    environmentMode

    Environment mode the template uses

    Declaration
    public EnvironmentMode environmentMode
    Field Value
    Type Description
    EnvironmentMode

    icon

    Icon for template selection in the GUI

    Declaration
    public Texture2D icon
    Field Value
    Type Description
    Texture2D

    name

    Name of the template

    Declaration
    public string name
    Field Value
    Type Description
    string

    scene

    Scene asset

    Declaration
    public SceneAsset scene
    Field Value
    Type Description
    SceneAsset
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)