UGameFrameworkComponent::GetGameInstance

Gets the game instance this component is a part of, this will return null if not called during normal gameplay