PlayerControllerGetElementT(Int32) Method |
Gets the element at the specified index.
Namespace: RewiredAssembly: Rewired_Core (in Rewired_Core.dll) Version: 1.0.0+e8257758c3446d922301bab0e4637a0e5ec1862f
Syntaxpublic T GetElement<T>(
int index
)
where T : PlayerControllerElement
Parameters
- index Int32
- The index of the element.
Type Parameters
- T
- The element type.
Return Value
TThe element at the specified index. Returns null if no element exists at the specified index or it is not the correct type.
See Also