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>();
 }
Exemple #2
0
 private void Start()
 {
     levelDealer     = FindObjectOfType <LevelDealer>();
     AcquireSparkVFX = Level.GetAcquireSparkVFX();
     spriteRenderer  = GetComponent <SpriteRenderer>();
 }