• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges

Enum

Cancel

Cancel

All Questions

  • Unanswered Questions
avatar image

idbrii edited

Showing an array with enum as keys in the property inspector

Jan 6, '21 arrays·enum·propertydrawer

2 Replies

1 Votes

avatar image

Ekkara commented

How can I custom inspector a enum like as component Light

Dec 6, '20 enum·dropdown

1 Reply

1 Votes

avatar image

crazyrems commented

Enum as a function param in a button OnClick

Dec 2, '20 in Help Room

5 Replies

0 Votes

avatar image

andreadoria edited

Changing enum state via another script

Nov 28, '20 in Help Room

2 Replies

2 Votes

avatar image

kdawgfsho04 commented

Im trying to get the type of enum so when i click depending on the type i want it to do something...

Nov 19, '20 enum

1 Reply

0 Votes

avatar image

Raes93 commented

What is the efficient way of showing variables depend on enum in custom inspector?

Nov 13, '20 inspector·enum·custom-inspector·editorguilayout·showing

2 Replies

0 Votes

avatar image

rhymaundylan asked

Is it possible to access the enum of an object from a script on its parent, then convert it to a string?

Nov 12, '20 in Help Room

0 Replies

0 Votes

avatar image

Omti1990 commented

drawdefaultinspector except of one variable??

Oct 31, '20 enum·editorgui·custom-inspector·editorguilayout

2 Replies

1 Votes

avatar image

Bunny83 commented

c# enum wont show in inspector Closed

Oct 17, '20 c#·inspector·enum·wont stop

3 Replies

6 Votes

avatar image

Ervo published

Is it possible to use separator / divider when displaying enum field in inspector?

Sep 20, '20 in Help Room

1 Reply

0 Votes

avatar image

Bunny83 commented

Enum with multiple fields

Jul 30, '20 c#·classes·enum·enumerate

1 Reply

0 Votes

avatar image

Cloudy71 answered

Enum with multiple fields

Jul 30, '20 c#·classes·enum·enumerate

2 Replies

0 Votes

avatar image

xplorey_games answered

Changing Enum var order messes up Enums saved in Scriptable Objects.

Jul 29, '20 scriptableobject·enum·scriptable object

2 Replies

1 Votes

avatar image

Shrimpey asked

Dynamic serialized fields based on enum

Jul 28, '20 editor·editor-scripting·serialization·enum·serializedproperty

0 Replies

0 Votes

avatar image

Noxury commented

enum in generic subclass shows as integer

Jul 26, '20 enum·dropdown·integer·generics·abstract

1 Reply

0 Votes

avatar image

unity_8XUtDRn37DKFfA commented

How do you conditionally hide some enum values in custom inspector?

Jul 16, '20 in Help Room

0 Replies

5 Votes

avatar image

ChronoWalker published

Getting an "Enum" value from a Scriptable Object

Jul 8, '20 scripting problem·enum·scriptable object

2 Replies

0 Votes

avatar image

krispastas edited

enum not referencing properly

Jun 30, '20 c#·animation·unity 2d·enum

1 Reply

0 Votes

avatar image

Bunny83 answered

Scriptable Object Enum

Jun 29, '20 scriptableobject·enum

2 Replies

0 Votes

avatar image

David_296 edited

Editor Windowed Enums

Jun 23, '20 editor·window·enum

0 Replies

0 Votes

avatar image

AleIrurzun asked

What's the Best Structure for a UI Menu?

May 19, '20 ui·classes·enum·begginer·structure

0 Replies

0 Votes

avatar image

torak289 commented

Issues with an enum not passing

May 15, '20 enum·passthrough

1 Reply

0 Votes

avatar image

FZ_Applications answered

How do I have a game object access the enums on another game object on collision?

May 11, '20 script.·2d-platformer·collision2d·enum·interaction

1 Reply

0 Votes

avatar image

Xavier78 edited

Default Editor : Enum as flags ?

May 10, '20 c#·editor·enum

8 Replies

6 Votes

avatar image

larex39 edited

Editorscript: Generate enum from string[]

May 7, '20 editor-scripting·enum

3 Replies

0 Votes

avatar image

larex39 edited

How to create enum out of array of string?

May 7, '20 editor-scripting·custom editor·enum

2 Replies

0 Votes

avatar image

larex39 answered

Creating enum using a string array

May 7, '20 array·inspector·tag·enum·custom-inspector

3 Replies

1 Votes

avatar image

larex39 answered

Adding elements to an enum at runtime

May 7, '20 runtime·data·enum

3 Replies

0 Votes

avatar image

flckev commented

How do I create a bunch of player abilities, with their own properties?

Apr 28, '20 class·enum

2 Replies

0 Votes

avatar image

amandaadler edited

How to pass a Swift string into Unity iOS game?

Apr 19, '20 ios·plugin·plugins·enum·objective-c

0 Replies

0 Votes

  • 1
  • 2
  • 3
  • 4
  • 5
  • ›
  • »

Followers

avatar image avatar image avatar image

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Related Topics

c# inspector javascript editor class error array inventory list switch random variable string classes editor-scripting custom-inspector dropdown enumpopup if-statements getcomponent scriptableobject inheritance custom editor scripting problem variables
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges