docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method CreateInstance

    CreateInstance(Type)

    Creates an instance of an action

    Declaration
    public static ActionBase CreateInstance(Type t)
    Parameters
    Type Name Description
    Type t

    Type of the action

    Returns
    Type Description
    ActionBase

    The instance of the action

    CreateInstance<T>()

    Creates an instance of an action

    Declaration
    public static ActionBase CreateInstance<T>() where T : ActionBase
    Returns
    Type Description
    ActionBase

    The instance of the action

    Type Parameters
    Name Description
    T

    Type of the action

    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)