I am trying to do this:
myPlayer = TNManager.Create(playerPrefab, redPlayerSpawns[i].transform.position, redPlayerSpawns[i].transform.rotation, false) as GameObject;
but I just get this error:
Cannot convert type `void' to `UnityEngine.GameObject' via a built-in conversionHow can I do this?