// Use this for initialization void Start() { //Fold stuff transform.position = travelPos; foldBegan = false; speed = 2f; textMesh = gameObject.GetComponent <TextMesh>(); boardcontroller = GetComponentInParent <Sudoku_Gameboard>(); // journeyLength = Vector3.Distance(boardPos, travelPos); //Font sizes offSize = textMesh.fontSize; onSize = offSize * 2; if (ID == 1) { rollOverPlayed = true; } }
// Use this for initialization void Start() { //Fold stuff transform.position = travelPos; foldBegan = false; speed = 2f; textMesh = gameObject.GetComponent<TextMesh>(); boardcontroller = GetComponentInParent<Sudoku_Gameboard>(); // journeyLength = Vector3.Distance(boardPos, travelPos); //Font sizes offSize = textMesh.fontSize; onSize = offSize * 2; if(ID==1) { rollOverPlayed = true; } }