Load TangibleActor by name in TangibleManager

This commit is contained in:
2024-01-22 17:11:21 -05:00
parent 704a2edb36
commit fa045af87f
13 changed files with 26 additions and 25 deletions

View File

@@ -28,6 +28,9 @@ public:
UPROPERTY()
TSubclassOf<AActor> ClassTangibleActor;
// A pointer to the name-to-actor data table.
UDataTable *NameToActorTable;
// Given a tangible ID, look up the TangibleComponent of that actor.
UPROPERTY()
TMap<int64, UlxTangible*> IdToTangible;
@@ -37,7 +40,7 @@ public:
// Initialize the tangible manager.
//
void Init(UWorld *world, UClass* tanact);
void Init(UWorld *world);
// Get a pointer to our world.
//