...
Code Block |
---|
#include "FlagActor.h"
#include "CavrnusFunctionLibrary.h"
void AFlagActor::InitializeProperties(FString& InContainerName, FCavrnusSpaceConnection& InSpaceConnection)
{
ContainerName = InContainerName;
SpaceConnection = InSpaceConnection;
UCavrnusFunctionLibrary::DefineColorPropertyDefaultValue(InSpaceConnection, InContainerName, "FlagColor", FlagColor);
UCavrnusFunctionLibrary::DefineFloatPropertyDefaultValue(InSpaceConnection, InContainerName, "FlagHeight", FlagHeight);
} |