Search Unity

Scripts

Discussion in 'Editor & General Support' started by bleg-cheese123, Aug 19, 2014.

  1. bleg-cheese123

    bleg-cheese123

    Joined:
    Jul 16, 2014
    Posts:
    6
    Hey guys so i just installed unity a couple of days ago and so everytime i try to use the scripts i have made it comes up with this error message but i can still open the scripts in mono develop
    error message:
    Can't add component 'nocursor' because it doesn't exist. Check to see if the file name and class name match.
     
  2. drewradley

    drewradley

    Joined:
    Sep 22, 2010
    Posts:
    3,063
    You either have no script called "nocursor", have a script called "nocursor" but the class name in the script is spelled different, or are trying to access it from a different script language.
     
  3. bleg-cheese123

    bleg-cheese123

    Joined:
    Jul 16, 2014
    Posts:
    6
    no cuz it clearly shows up in the asset folder of my project
     
  4. drewradley

    drewradley

    Joined:
    Sep 22, 2010
    Posts:
    3,063
    Have you checked out the other two possibilities I mentioned?
     
  5. bleg-cheese123

    bleg-cheese123

    Joined:
    Jul 16, 2014
    Posts:
    6
    hey its cool its working to an extent now but thanks still :)