Navigation
API > API/Plugins > API/Plugins/ModularGameplay > API/Plugins/ModularGameplay/Components > API/Plugins/ModularGameplay/Components/UControllerComponent
References
| Module | ModularGameplay |
| Header | /Engine/Plugins/Experimental/ModularGameplay/Source/ModularGameplay/Public/Components/ControllerComponent.h |
| Include | #include "Components/ControllerComponent.h" |
template<class T>
T &42; GetPawnOrViewTarget&40;&41; const
Remarks
If this controller is possessing a pawn return the pawn, if not return the view target