public var winlevel : int = 1;
public var loselevel : int = 1;
is not valid c#
change according to this pattern:
[access modifier] [ variable type] [variable name] = [value];
public int winlevel = 1;
↧