Turboflu
(Turboflu)
August 8, 2017, 1:53pm
1
Currently I use:
UPROPERTY(EditAnywhere)
TSubclassOf<ACharacter> Char;
To assign a Blueprint to Char in the Blueprint Editor.
Then I use UGameplayStatics::GetAllActorsOfClass to get all instances of the Blueprint.
But is it possible to assign only one instance of a Blueprint (as they are shown in the World Outliner) from within the Blueprint Editor?
Thanks a lot in advance !
Turboflu
(Turboflu)
August 9, 2017, 8:16am
2
When I use:
UPROPERTY(EditAnywhere)
AActor* TestForInstance;
It is possible to assign a specific instance of a Blueprint but only in an instance of a Blueprint and not the Blueprint itself as on the following pictures
Here I can assign the specific instance:
In the Blueprint Editor it shows the instances from the World Outliner but it won’t assign it.