void Start() { flipperBar = FindObjectOfType <flipperBar>(); rightFlipp = FindObjectOfType <RightFlipp>(); ballLauncher = FindObjectOfType <ballLauncher>(); animator = GetComponent <Animator>(); }
// Start is called before the first frame update void Start() { BallLauncher = transform.parent.GetComponent <ballLauncher>(); score = FindObjectOfType <Score>(); if (!BallLauncher) { Debug.Log("ERROR"); } }
// Start is called before the first frame update void Start() { ballLauncher = FindObjectOfType <ballLauncher>(); }