Struct TemplateData
Data for a MARS scene template in the TemplatesWindow
Inherited Members
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 |