Bitflag enums don't respect LabelText

Issue #519 new
Justin Hughart created an issue
[System.Flags]
public enum HieroflexPassableDetectionMode
{
    /// <summary>
    /// Check if the tile has colliders to consider it non-passable
    /// </summary>
    TileColliderCheck = 1,

    /// <summary>
    /// Use 2D raycasting
    /// </summary>
    [LabelText("Raycast 2D")]
    Raycast2D = 1 << 1,

    /// <summary>
    /// Use 3D raycasting
    /// </summary>
    [LabelText("Raycast 3D")]
    Raycast3D = 1 << 2,
}

Pretty straightforward bug.

Comments (1)

  1. Log in to comment