Class EnvironmentItem
Class EnvironmentItem.
Inherited Members
UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
Namespace: UnityEngine.Industrial.Configuring.Staging
Syntax
[Serializable]
public class EnvironmentItem : StagingItem, IDisplayableCard
Properties
Label
Gets or sets the label.
Declaration
public string Label { get; set; }
Property Value
Type | Description |
---|---|
String | The label. |
Methods
CreateNewEnvironmentItem()
Create a new EnvironmentItem asset in project. Return Asset path.
Declaration
[MenuItem("Forma/Staging/Create Environment Item")]
public static void CreateNewEnvironmentItem()
CreateNewEnvironmentItem(String)
Creates the new environment item.
Declaration
public static string CreateNewEnvironmentItem(string path)
Parameters
Type | Name | Description |
---|---|---|
String | path | The path. |
Returns
Type | Description |
---|---|
String | System.String. |
ID()
Identifiers this instance.
Declaration
public string ID()
Returns
Type | Description |
---|---|
String | System.String. |
Thumbnail()
Thumbnails this instance.
Declaration
public Texture2D Thumbnail()
Returns
Type | Description |
---|---|
Texture2D | Texture2D. |