Click or drag to resize

PlayerControllerGetElementT Method (Int32)

Gets the element at the specified index.

Namespace:  Rewired.Components
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
Type: SystemInt32
The index of the element.

Type Parameters

T
The element type.

Return Value

Type: 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