Load TangibleActor by name in TangibleManager
This commit is contained in:
@@ -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.
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user