Beispiel #1
0
    // Start is called before the first frame update
    void Start()
    {
        anim9 = anim9.GetComponent <Animation> ();
        anim8 = anim8.GetComponent <Animation> ();
        anim7 = anim7.GetComponent <Animation> ();
        anim6 = anim6.GetComponent <Animation> ();
        anim5 = anim5.GetComponent <Animation> ();
        anim4 = anim4.GetComponent <Animation> ();
        anim3 = anim3.GetComponent <Animation> ();
        anim2 = anim2.GetComponent <Animation> ();
        anim1 = anim1.GetComponent <Animation> ();
        anim0 = anim0.GetComponent <Animation> ();
        anim  = GetComponent <Animation> ();



        clav = FindObjectOfType <clavier2> ();
    }
Beispiel #2
0
 // Start is called before the first frame update
 void Start()
 {
     clav       = FindObjectOfType <clavier2> ();
     cardRender = GetComponent <SpriteRenderer> ();
 }
 // Start is called before the first frame update
 void Start()
 {
     clav = FindObjectOfType <clavier2>();
     UpdateStars();
 }