Class GetLatestImportedModel
Get the latest GameObject imported with Pixyz. It will fail if there isn't at least one model imported with Pixyz in the current scene. Use [Include Whole Hierarchy] to also include all of its children as well (at any level).
Inherited Members
Namespace: UnityEditor.PixyzPlugin4Unity.RuleEngine
Assembly: Unity.Pixyz.Plugin4Unity.Editor.dll
Syntax
public class GetLatestImportedModel : ActionOut<IList<GameObject>>
Fields
| Name | Description |
|---|---|
| includeWholeHierarchy | Should the output include the full hierarchy |
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 |
|---|---|
| getWarnings() | Check if the current context will allow the correct execution of this action |
| run() | Execute the behavior of this action by returning all gameobjects from the latest import of the plugin |