Search Unity

Feedback Support for long for EditorGUILayout.MaskField

Discussion in 'Editor & General Support' started by FoodFish_, May 24, 2023.

  1. FoodFish_

    FoodFish_

    Joined:
    May 3, 2018
    Posts:
    58
  2. FoodFish_

    FoodFish_

    Joined:
    May 3, 2018
    Posts:
    58
  3. spiney199

    spiney199

    Joined:
    Feb 11, 2021
    Posts:
    7,819
    Why not just write your own property drawer for this?
     
  4. FoodFish_

    FoodFish_

    Joined:
    May 3, 2018
    Posts:
    58
    Honestly the number of custom inspectors I have to rely on and maintain is unreal. If Unity could get this one right at least it would be a blessing. Beside I don't even know how I would get started. Seems like every option menu (allowing multiple selected), only supports integers.
     
  5. spiney199

    spiney199

    Joined:
    Feb 11, 2021
    Posts:
    7,819
  6. Ryiah

    Ryiah

    Joined:
    Oct 11, 2012
    Posts:
    21,128
    I suspect that this is the way it is for one or more technical reasons which would be "getting it right", but I wouldn't be surprised if it were technical debt which would be annoying but equally unchangeable. I checked UI Elements which is intended to replace IMGUI for creating editors and it still uses 32-bits.

    https://docs.unity3d.com/Packages/com.unity.ui@1.0/api/UnityEditor.UIElements.MaskField.html
     
    Last edited: Jul 17, 2023