public GameObject[] gameModePrefabs; //Drag gameMode prefabs here in the editor
private GameObject mGameMode;
void Start()
{
if(TNManager.isHosting)
tno.Send("StartGameMode", Target.AllSaved, 0); // 0 should really be the index/ID of the gameMode you want to instantiate
}
[RFC]
void StartGameMode(int modeID)
{
mGameMode = Instantiate(gameModePrefabs[modeID]) as GameObject; // Yes, that is the unity Instantiate, but the prefab has a TNObject on it with the ID set manually
}