VIRTUOS_Playground/VIRTUOS_ExpansionPluginTests/Source/VRExpPluginExample/Public/CustomAdvancedFriendsGI.h
Simeon Wallrath 362b5ff23f C++ Implementation GameInstance save, also some cleanup of unsued C++ classes
This literally took me days, as it turn out that the timing offset between C++ and BP Init of GameIstance caused it to not be added as a GlobalObject to SPUD correctly.
2025-12-11 17:22:52 +01:00

17 lines
No EOL
377 B
C++

#pragma once
#include "CoreMinimal.h"
#include "AdvancedFriendsGameInstance.h"
#include "CustomAdvancedFriendsGI.generated.h"
/**
* Custom GameInstance that registers itself with SPUD for persistence.
*/
UCLASS()
class VREXPPLUGINEXAMPLE_API UCustomAdvancedFriendsGI : public UAdvancedFriendsGameInstance
{
GENERATED_BODY()
public:
virtual void Init() override;
};