/Engine/Plugins/Experimental/ModularGameplay/Source/ModularGameplay/Public/Components/GameFrameworkComponent.h
Gets the game instance this component is a part of, this will return null if not called during normal gameplay
template<class T> T * GetGameInstance() const