docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method preProcess

    preProcess(Input, bool)

    Used to validate/modify the input before the action is actually executed

    Declaration
    public virtual bool preProcess(Input input, bool childrenIncluded = false)
    Parameters
    Type Name Description
    Input input

    The input that need validate

    bool childrenIncluded

    Does the input contains parent and children mixed together

    Returns
    Type Description
    bool

    Returns true if the input is a valid for this action

    In This Article
    Back to top
    Copyright © 2024 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)