// Start is called before the first frame update void Start() { Animation1 = Animation1.GetComponent <Animation>(); Animation2 = Animation2.GetComponent <Animation>(); Animation3 = Animation3.GetComponent <Animation>(); Animation4 = Animation4.GetComponent <Animation>(); Animation5 = Animation5.GetComponent <Animation>(); Animation6 = Animation6.GetComponent <Animation>(); Animation7 = Animation7.GetComponent <Animation>(); Animation8 = Animation8.GetComponent <Animation>(); Animation9 = Animation9.GetComponent <Animation>(); Animation10 = Animation10.GetComponent <Animation>(); AnimationCard = GetComponent <Animation>(); clav = FindObjectOfType <Clavier4>(); }
// Start is called before the first frame update void Start() { clav = FindObjectOfType <Clavier4>(); cardRender = GetComponent <SpriteRenderer>(); }
// Start is called before the first frame update void Start() { clav = FindObjectOfType <Clavier4>(); UpdateStars(); }