Why are my uint8’s appearing as bytes in blueprints instead of green integers?
UFUNCTION(BlueprintCallable, Category=Default)
void Foo( const uint8 Number );
Why are my uint8’s appearing as bytes in blueprints instead of green integers?
UFUNCTION(BlueprintCallable, Category=Default)
void Foo( const uint8 Number );
It is how the engine was made to reduce complexity on the Blueprints. uint8 is displayed as byte and has a range of 0-255.
To add only supported integer types in blueprints are int32 (Integer), int64 (Integer64) and uint8 (Byte… as literately this type is byte value in C++) anything else wont work and give oyu UHT errors if use them with any blueprint related specfiers, but other integer types are supported by property editor (EditAnywhere
specifier)