Click or drag to resize

PlayerControllerHelperGetFirstControllerWithTemplateT Method

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+e8257758c3446d922301bab0e4637a0e5ec1862f
Syntax
C#
public Controller GetFirstControllerWithTemplate<T>()
where T : class

Type Parameters

T
Controller Template Type

Return Value

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