docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Method TryGetBufferForInputComponent

    TryGetBufferForInputComponent(ComponentType, out ComponentType)

    Lookup a component type to use as a buffer for a given IInputComponentData.

    Declaration
    [Obsolete("TryGetBufferForInputComponent has been deprecated. In order to find the buffer associated with an IInputComponentData please just useIInputBuffer<T> where T is the IInputComponentData type you are looking for.", false)]
    public bool TryGetBufferForInputComponent(ComponentType inputType, out ComponentType bufferType)
    Parameters
    Type Name Description
    ComponentType inputType
    ComponentType bufferType
    Returns
    Type Description
    bool

    True if the component has an assosiated buffer to use, false if it does not.

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