Struct TemplateData
Data for a MARS scene template in the TemplatesWindow
Namespace: UnityEditor.MARS
Syntax
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 |