I can’t assign to a property in a Blueprint, it just keeps saying None.
The difference between this one that doesn’t seem to work and the ones that do, is it is a property of my own class type, which I then fill out in a blueprint and try to assign.
This is the property in my character.
UPROPERTY(EditDefaultsOnly, Category=LaserPointer, BlueprintReadWrite)
ALaserPointer* LaserAttractor;
Here’s my property class header:
UCLASS(placeable, Blueprintable)
class ALaserPointer : public AActor
{
GENERATED_UCLASS_BODY()
UPROPERTY(EditDefaultsOnly, Category=LaserPointer, BlueprintReadWrite)
UParticleSystem* LaserDot;
UPROPERTY(EditDefaultsOnly, Category=LaserPointer, BlueprintReadWrite)
UParticleSystem* LaserSpark;
UPROPERTY(EditDefaultsOnly,Category=LaserPointer, BlueprintReadWrite)
USkeletalMesh* LaserBeam;
UPROPERTY(EditDefaultsOnly,Category=LaserPointer, BlueprintReadWrite)
APointLight* LaserLight;
};