Click or drag to resize

PlayerControllerHelperGetFirstControllerWithTemplate Method (Type)

Gets the first Controller of any type that implements the specified Controller Template.

Namespace:  Rewired
Assembly:  Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public Controller GetFirstControllerWithTemplate(
	Type templateType
)

Parameters

templateType
Type: SystemType
Controller Template type

Return Value

Type: Controller
Returns the first Controller that implements the Controller Template or null if none were found.
See Also