void Start() { boardManager = FindObjectOfType <BoardManager>(); mainUI = FindObjectOfType <UIBoardGame>(); transform.position = currentRoute.childPieces[routePos].position; transform.position += Vector3.up; }
void Awake() { mainUI = FindObjectOfType <UIBoardGame>(); mainCam = FindObjectOfType <BoardCamera>(); players = FindObjectsOfType <BoardPlayer>(); NewTurn(); }