Click or drag to resize

PlayerControllerGetElementT(Int32) Method

Gets the element at the specified index.

Namespace: Rewired
Assembly: Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public T GetElement<T>(
	int index
)
where T : PlayerControllerElement

Parameters

index  Int32
The index of the element.

Type Parameters

T
The element type.

Return Value

T
The element at the specified index. Returns null if no element exists at the specified index or it is not the correct type.
See Also