docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ActionInOut<Input, Output>

    Abstract class for In-Out Actions.
    Inherit from this class to create an Action that returns some data from a given input.

    Inheritance
    object
    ActionBase
    ActionInOut<Input, Output>
    AddChild
    AddLight
    AddRigidbody
    BakeImpostor
    CenterToOrigin
    FilterOnActiveState
    FilterOnLayer
    FilterOnMaterial
    FilterOnMetadata
    FilterOnName
    FilterOnPosition
    FilterOnSize
    FilterOnTag
    FilterOnTriangleCount
    FilterOnVertexCount
    FlipNormals
    FreePassAction
    GetChildAt
    GetChildren
    GetParents
    MovePivot
    PixyzAction
    PrintGameObjectsInfo
    PrintMaterialsInfo
    PrintMeshesInfo
    RandomizeTransform
    RemoveColliders
    Select
    SetAsStatic
    SetEnabled
    SetLayer
    SetMaterial
    SetMesh
    SetMetadata
    SetName
    SetTag
    SetTransform
    SnapToGround
    SwitchMaterials
    Inherited Members
    ActionBase.CreateInstance(Type)
    ActionBase.CreateInstance<T>()
    ActionBase.OnActionExecuted
    ActionBase.Id
    ActionBase.Priority
    ActionBase.MenuPathRuleEngine
    ActionBase.MenuPathToolbox
    ActionBase.IsInRuleEngine
    ActionBase.IsInToolbox
    ActionBase.Tooltip
    ActionBase.Color
    ActionBase.Icon
    ActionBase.Output
    ActionBase.HelpersMethods
    ActionBase.IsAsync
    ActionBase.IsRunning
    ActionBase.GetErrors()
    ActionBase.GetWarnings()
    ActionBase.GetInfo()
    ActionBase.OnValueChanged()
    ActionBase.Initialize()
    ActionBase.Dispose()
    ActionBase.Validate(object)
    ActionBase.DisplayNameRuleEngine
    ActionBase.DisplayNameToolbox
    ActionBase.ActionNameToolbox
    ActionBase.ActionNameRuleEngine
    ActionBase.GroupNameToolbox
    ActionBase.GroupNameRuleEngine
    ActionBase.Invoke(object)
    ActionBase.ReportProgress(float, string)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEditor.PixyzPlugin4Unity.Actions
    Assembly: Unity.Pixyz.Plugin4Unity.Editor.dll
    Syntax
    public abstract class ActionInOut<Input, Output> : ActionBase
    Type Parameters
    Name Description
    Input

    Specifies what kind of data enters the actions.

    Output

    Specifies what kind of data the actions outputs.

    Remarks

    Can be used to create a Toolbox Actions and/or RuleEngine Actions. Check ActionBase for more implementation details. If creating a Toolbox Action, the Input and Output must be of type IList<GameObject>.

    Properties

    Name Description
    InputType

    Input type. Specifies what kind of data enters the actions.

    OutputType

    Output type. Specifies what kind of data the actions outputs.

    Methods

    Name Description
    PostProcess(ref Output)

    Use to modify the output after the 'Run' method is executed. Always executed on the main thread.

    PreProcess(ref Input)

    Use to validate/modify the input before the 'Run' method is executed. Always executed on the main thread.

    Run(Input)

    Abstract execution method. When creating a new Action, this method implementation will hold all the processing code. Executed on a background thread if IsAsync is true.

    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)