Search Unity

Enum values being remembered by name, instead of value

Discussion in 'Visual Scripting' started by JacobFast, Apr 15, 2022.

  1. JacobFast

    JacobFast

    Joined:
    Apr 29, 2014
    Posts:
    47
    Everywhere else in Unity enum values are being stored by value, but in VS they being stored by name, so If i change the name of enum field without changing the value, all nodes that use this enum will immediately reset to 0, which is like goes against what enum are being useful for.