Skip to content

Latest commit

 

History

History
19 lines (16 loc) · 395 Bytes

enums.md

File metadata and controls

19 lines (16 loc) · 395 Bytes
title layout nav_order
Enums
default
5

Enums

Any enums exposed to Unreal Engine via UProperty/UEnum/UFunction-parameter must have a underlying type of byte. It's a restriction set by the engine with enums used in Blueprint.

If you don't need to expose them, you can have any valid underlying type.

[UEnum]
public enum EMyEnum : byte
{
    Value1 = 0,
    Value2 = 1,
}