public void Repair() { Debug.Log("Fixed"); sc.AddPoints(5); sc.AddFix(); IsBroken = false; TileStates[State].SetActive(false); State = 0; TileStates[State].SetActive(true); ErrorType = -1; }