void Awake() { Instance = this; hearts = transform.FindChild("HeartParticles").GetComponent<ParticleSystem>(); rb = GetComponent<Rigidbody2D>(); animator = GetComponent<Animator>(); }
void Awake() { Instance = this; rb = GetComponent<Rigidbody2D>(); animator = GetComponent<Animator>(); }