Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question What is this?

Discussion in 'Getting Started' started by Scallop26, Sep 13, 2023.

  1. Scallop26

    Scallop26

    Joined:
    Sep 13, 2023
    Posts:
    1
    Assets\mouse_look.cs(12,21): error CS1003: Syntax error, ',' expected
     
  2. ijmmai

    ijmmai

    Joined:
    Jun 9, 2023
    Posts:
    188
    There is not much to explain. Did you check the line of code mentioned?
     
  3. MelvMay

    MelvMay

    Unity Technologies

    Joined:
    May 24, 2013
    Posts:
    11,091
    The C# compiler telling you that your code isn't valid and it's everything you need to fix your own coding error/typo.
    • The file you made the mistake in.
    • The Line (12) and Column (21) it found something wrong.
    • The error code it classifies it as.
    • A simple description of the error i.e. a "comma" was expected.
    It's unclear why you reached for the forum here. If you are new to programming then please try to use the "Getting Started" sub-forum. I'll move your post there for you.

    Thanks.
     
    Deleted User likes this.