void Start() { //holesList = GameObject.FindGameObjectsWithTag("Hole"); holesList = Hole.FindObjectsOfType <Hole>(); /* for (int i = 0; i < holesList.Length; i++) * { * holeScript[i] = holesList[i].GetComponent<Hole>(); * }*/ if (multiplayerModeEnabled) { MultiplayerMode(); } else { backScene = backSoloScene; } }