Comments and answers for "enum not referencing properly" The latest comments and answers for the question "enum not referencing properly" Answer by krispastas public enum State { idle, running, jumping, falling } public State state; if (state == State.idle) { animator.SetTrigger("cross"); } else { animator.SetTrigger("rcross"); } Tue, 30 Jun 2020 13:28:29 GMT krispastas Comment by ShadoX Could you please explain in a bit more detail what isn't working ? Is your IF statement not running or **ahmadcontroller.state** not set properly or .. ? Fri, 26 Jun 2020 15:54:36 GMT ShadoX Comment by Captain_Pineapple i honestly do not understand. What exactly does not work? "*it does not reference properly*" does not really have any meaning. Fri, 26 Jun 2020 08:37:58 GMT Captain_Pineapple