private void Start() { CanShrink = true; leveldealer = FindObjectOfType <LevelDealer>(); shrinkDealer = FindObjectOfType <ShrinkDealer>(); lanternBurst = Level.GetLaternBurst(); rb = GetComponent <Rigidbody2D>(); anim = GetComponent <Animator>(); spriteRenderer = GetComponent <SpriteRenderer>(); audioManager = FindObjectOfType <AudioManager>(); }
private void Start() { levelDealer = FindObjectOfType <LevelDealer>(); AcquireSparkVFX = Level.GetAcquireSparkVFX(); spriteRenderer = GetComponent <SpriteRenderer>(); }