Class StagingExtensions
Class StagingExtensions.
Namespace: Unity.Industrial.Forma.Staging
Syntax
public static class StagingExtensions : object
Fields
commandRootGoName
The command root go name
Declaration
public const string commandRootGoName = null
Field Value
Type | Description |
---|---|
String |
Properties
configuratorCommands
Gets or sets the configurator commands.
Declaration
public static GameObject configuratorCommands { get; set; }
Property Value
Type | Description |
---|---|
GameObject | The configurator commands. |
Methods
FindStagingItemCommandsContainer(Configurator)
Find command container root gameObject in scene (Create one if not exist)
Declaration
public static Transform FindStagingItemCommandsContainer(Configurator configurator)
Parameters
Type | Name | Description |
---|---|---|
Configurator | configurator | The configurator. |
Returns
Type | Description |
---|---|
Transform | Transform. |
IsInstance(Object)
Is a scene gameObject? (we don't accept project view prefab reference. Since staging commands are MonoBehaviors, they will not be executed in play mode if they are not instantiated)
Declaration
public static bool IsInstance(Object item)
Parameters
Type | Name | Description |
---|---|---|
Object | item | The item. |
Returns
Type | Description |
---|---|
Boolean |
|