Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //
- void OnTriggerEnter2D(Collider2D other)
- {
- if (other.CompareTag("Snow"))
- {
- Instantiate(snowBallEffect, transform.position, transform.rotation);
- Destroy(gameObject);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement