private void OnTriggerEnter(Collider other) { PlayPickupAfx(); PlayPickupVfx(); GameObject thisGameObj = gameObject; thisGameObj.SetActive(false); Destroy(thisGameObj); _parent.ActivateNextStar(); }
private void OnTriggerEnter(Collider other) { PlayPickupAfx(); PlayPickupVfx(); GameObject thisGameObj = gameObject; thisGameObj.SetActive(false); Destroy(thisGameObj); _parent.ActivateNextStar(); }