Search Unity

WHAT ARE COMPILE ERRORS?

Discussion in 'Scripting' started by G_SwagZ, Mar 30, 2015.

  1. G_SwagZ

    G_SwagZ

    Joined:
    Mar 30, 2015
    Posts:
    1
    WHEN I TRY AND ADD MY JAVASCRIPT TO TEXT IT SAYS I NEED TO FIX COMPILE ERRORS FIRST BUT WHAT ARE THEY? PLZ HELP ME.
     
  2. passerbycmc

    passerbycmc

    Joined:
    Feb 12, 2015
    Posts:
    1,741
  3. Mauri

    Mauri

    Joined:
    Dec 9, 2010
    Posts:
    2,664
    First of all, don't use CAPSLOCK. It's crap.
    Second, if you stumbled across a compiler error, take a look into the Console. It will tell you at which line of the script the error pops up. Example: Assets/Scripts/MyBrokenScript.cs/js(8,17): error CS... <- malicious part is at line 17

    It also don't hurt to just paste your script into your Posting with the code-tag. This way, other People can look into it.
     
    BenZed likes this.