Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

[Help] Using States in unity5

Discussion in 'Scripting' started by shohan4556, Feb 9, 2016.

  1. shohan4556

    shohan4556

    Joined:
    Feb 3, 2016
    Posts:
    11
    Hello, When I use something like
    public States myState;
    in unity 4.x its ok
    but when try the same thing in unity5 its showing error, please help me how to fix the problem.
     
  2. Gilmar

    Gilmar

    Joined:
    Dec 17, 2013
    Posts:
    30
    more info would be helpful, such as what is the error.
     
    Kiwasi likes this.
  3. shohan4556

    shohan4556

    Joined:
    Feb 3, 2016
    Posts:
    11
    I fixed the problem