Search Unity

Keyword `void' cannot be used in this context

Discussion in 'Multiplayer' started by Tfishyy, Apr 25, 2015.

  1. Tfishyy

    Tfishyy

    Joined:
    Apr 25, 2015
    Posts:
    17
    I get these errors Keyword `void' cannot be used in this context and error CS1525: Unexpected symbol `(', expecting `)', `,', `;', `[', or `=' here is the code
    The Error is on line 88 Screenshot (16).png Screenshot (17).png Screenshot (18).png Screenshot (19).png
     
  2. BFGames

    BFGames

    Joined:
    Oct 2, 2012
    Posts:
    1,543
    You did not close your OnGUI method.
     
    KEMBL likes this.