/Engine/Source/Runtime/UMG/Public/Blueprint/UserWidget.h
Gets the player controller associated with this UI cast to the template type.
The player controller that owns the UI. May be NULL if the cast fails.
template<class T> virtual T * GetOwningPlayer() const