Class Merge
Merge the input with a variety of possible ways
Inherited Members
Namespace: UnityEditor.PixyzPlugin4Unity.Toolbox
Assembly: Unity.Pixyz.Plugin4Unity.Editor.dll
Syntax
public class Merge : PixyzFunction
Fields
Name | Description |
---|---|
hierarchyLevel | When merging by hierarchy level this where the depth is stored |
keepParent | When merging should we keep the parent or include it into the merge process |
mergeByRegionsStrategy | Define the criterion used for merge by region |
mergeStrategy | Define the strategy used by merge all |
numberOfRegions | Define the number of region when merging by region is set to a number of region |
sizeOfRegions | Define the size of regions when merging by region is set to size of regions |
type | Defines the type of merge that will be used |
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 |
order | The order to use when placing this action in a list. If the value is -1, the display name will be used instead; |
tooltip | Quick description to describe the behavior of this action |
updateStats | Indicates wether we should update the stats when selection is changed after processing |
Methods
Name | Description |
---|---|
getErrors() | Check if the current context will allow the correct execution of this action |
getWarnings() | Check if the current context will allow the correct execution of this action |
onSelectionChanged(IList<GameObject>) | Called when the selection in the editor changes to validated/check the new selection |
postProcess() | Process the result of the action to be used into the source context in it's final form. |
preProcess(IList<GameObject>, bool) | Prepare the execution of the action |
process() | Execute the behavior of this action by merging objects |