Hi everyone I’m slowly converting C# code I have into UnityScript and I built this code as I’m converting and came upon this error Unexpected token: ).
Here is the code being used.
#pragma strict
public var conActive : boolean;
public var game : TeamGameSetup;
public var playerSelected : boolean;
var playerName : String;
var selectNetPlayer : NetworkPlayer;
var chat : FPSChat;
var games : GameObject;
function Start ()
{
games = GameObject.Find("GameScripts").GetComponent<TeamGameSetup>();
}
function Update ()
{
}