private void Start()
    {
        managerScript = GameObject.Find("PuzzleManager").GetComponent <PuzzleManagerScript>();

        image = gameObject.GetComponent <Image>();

        image.color = notSelectedColor;
    }
Esempio n. 2
0
 private void Awake()
 {
     manager = GameObject.Find("PuzzleManager");
     script  = manager.GetComponent <PuzzleManagerScript>();
     moves   = GetComponent <Text>();
 }