Esempio n. 1
0
    void Start()
    {
        flipperBar   = FindObjectOfType <flipperBar>();
        rightFlipp   = FindObjectOfType <RightFlipp>();
        ballLauncher = FindObjectOfType <ballLauncher>();

        animator = GetComponent <Animator>();
    }
Esempio n. 2
0
    // Start is called before the first frame update
    void Start()
    {
        BallLauncher = transform.parent.GetComponent <ballLauncher>();
        score        = FindObjectOfType <Score>();

        if (!BallLauncher)
        {
            Debug.Log("ERROR");
        }
    }
Esempio n. 3
0
 // Start is called before the first frame update
 void Start()
 {
     ballLauncher = FindObjectOfType <ballLauncher>();
 }