Class GetGameObject
Set a specified gameobject as input
Inherited Members
Namespace: UnityEditor.PixyzPlugin4Unity.RuleEngine
Assembly: Unity.Pixyz.Plugin4Unity.Editor.dll
Syntax
public class GetGameObject : ActionOut<IList<GameObject>>
Fields
| Name | Description |
|---|---|
| gameobject | The gameobject that will be set as output |
| includeWholeHierarchy | Should the output also contains children of the gameobject |
Properties
| Name | Description |
|---|---|
| id | Unique id of this action, generated when the file is generated |
| menuPathRuleEngine | The path used for the contextual menu in the RuleEngine |
| menuPathToolbox | The path used for the contextual menu in the Toolbox |
| tooltip | Quick description to describe the behavior of this action |
Methods
| Name | Description |
|---|---|
| getErrors() | Check if the current context will allow the correct execution of this action |
| run() | Execute the behavior of this action by returning the specified gameobject and children if enable |