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. |