Download LyraStarterGame/Source/LyraGame/GameModes/LyraExperienceManager.h from Alexhas2/unitysamples: direct link, hf CLI and curl.
- Browser
- Download file 935 Bytes
-
https://huggingface.co/datasets/Alexhas2/unitysamples/resolve/main/LyraStarterGame/Source/LyraGame/GameModes/LyraExperienceManager.h
- Command line
-
hf download hf://datasets/Alexhas2/unitysamples/LyraStarterGame/Source/LyraGame/GameModes/LyraExperienceManager.h
-
curl -L -o LyraExperienceManager.h https://huggingface.co/datasets/Alexhas2/unitysamples/resolve/main/LyraStarterGame/Source/LyraGame/GameModes/LyraExperienceManager.h
935 Bytes
| // Copyright Epic Games, Inc. All Rights Reserved. | |
| /** | |
| * Manager for experiences - primarily for arbitration between multiple PIE sessions | |
| */ | |
| UCLASS(MinimalAPI) | |
| class ULyraExperienceManager : public UEngineSubsystem | |
| { | |
| GENERATED_BODY() | |
| public: | |
| LYRAGAME_API void OnPlayInEditorBegun(); | |
| static void NotifyOfPluginActivation(const FString PluginURL); | |
| static bool RequestToDeactivatePlugin(const FString PluginURL); | |
| static void NotifyOfPluginActivation(const FString PluginURL) {} | |
| static bool RequestToDeactivatePlugin(const FString PluginURL) { return true; } | |
| private: | |
| // The map of requests to active count for a given game feature plugin | |
| // (to allow first in, last out activation management during PIE) | |
| TMap<FString, int32> GameFeaturePluginRequestCountMap; | |
| }; | |