void Start() { puzzleSolutionColor = getRandomPuzzleColor(); ColorPanel.GetComponent <Renderer>().material.color = puzzleSolutionColor; clean(); colorsPuzzleActivator = GetComponent <ColorsPuzzleActivator>(); }
void Start () { puzzleSolutionColor = getRandomPuzzleColor(); Terminal.GetComponent<Renderer>().material.color = puzzleSolutionColor; GetComponent<Renderer>().enabled = false; GetComponentInChildren<SpriteRenderer>().enabled = false; puzzleController.SelectionBox1.GetComponent<Renderer>().enabled = false; puzzleController.SelectionBox2.GetComponent<Renderer>().enabled = false; colorsPuzzleActivator = GetComponent<ColorsPuzzleActivator>(); }
void Start() { puzzleSolutionColor = getRandomPuzzleColor(); Terminal.GetComponent <Renderer>().material.color = puzzleSolutionColor; GetComponent <Renderer>().enabled = false; GetComponentInChildren <SpriteRenderer>().enabled = false; puzzleController.SelectionBox1.GetComponent <Renderer>().enabled = false; puzzleController.SelectionBox2.GetComponent <Renderer>().enabled = false; colorsPuzzleActivator = GetComponent <ColorsPuzzleActivator>(); }