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