static [TSharedRef](API\Runtime\Core\Templates\TSharedRef)< [SWidget](API\Runtime\SlateCore\Widgets\SWidget) > CreateDataLayerMenu ( [TFunction](API\Runtime\Core\GenericPlatform\TFunction)< void(const [UDataLayerInstance](API\Runtime\Engine\WorldPartition\DataLayer\UDataLayerInstance) *DataLayer)> OnDataLayerSelectedFunction )