Click or drag to resize

PlayerControllerHelperGetControllerWithTagT Method (String)

Gets a controller of the specificed type with the specified tag assigned to this Player.

Namespace:  Rewired
Assembly:  Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public T GetControllerWithTag<T>(
	string tag
)
where T : Controller

Parameters

tag
Type: SystemString
The tag

Type Parameters

T
Controller type

Return Value

Type: T
Controller
See Also