void Start() { ui = FindObjectOfType <UiManager>(); ballVis = FindObjectOfType <BallVisuals>(); screenshake = FindObjectOfType <Screenshake>(); player = GameObject.FindGameObjectWithTag("Player"); resetLevel(); }
private void Awake() { visuals = GetComponent <BallVisuals>(); }
void Start() { StartCoroutine(startPortalAnim()); ballVisuals = FindObjectOfType <BallVisuals>(); }