PlayerControllerGetElementT(Int32) Method |
Gets the element at the specified index.
Namespace: RewiredAssembly: Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
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