Hello, I’m currently trying to access a public variable inside of a class so I can use it in an if statement but I don’t want to create an actor of that class and I can’t cast because I don’t have an actor to cast from in the first place. Is there anyway I can do this? Some snippets below to help explain it:
UPROPERTY(EditDefaultsOnly, BlueprintReadWrite, Category = "Blasts")
TArray<TSubclassOf<ABlast>> BlastTypes;
and I’m trying to get the variable inside ABlast:
UPROPERTY(EditDefaultsOnly, BlueprintReadWrite, Category = "Energy", meta = (ClampMin = "0.0", ClampMax = "100.0",
UIMin = "0.0", UIMax = "100.0"))
float EnergyAmount;
Any suggestions or help is greatly appreciated!