A Unity ID allows you to buy and/or subscribe to Unity products and services, shop in the Asset Store and participate in the Unity community.
Separate names with a comma.
Discussion in 'Scripting' started by Rhuantavan, Jun 29, 2006.
A really noob question: how to create an enum in unity javascript?
Code (csharp): enum MyEnum { Hello = 5, Dudu = 6 } var dumdidu = MyEnum.Hello;
Oh that simple ... I was messing with enum MyEnum : int { ... so that gave me problems