you really gotta calm down, marisa...
This commit is contained in:
parent
13bb58ea03
commit
b9fb490dce
68 changed files with 990 additions and 44 deletions
12
Assets/Scripts/Items/ItemPickupRange.cs
Normal file
12
Assets/Scripts/Items/ItemPickupRange.cs
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
public class ItemPickupRange : MonoBehaviour
|
||||
{
|
||||
[SerializeField] private ItemPickup thisItem;
|
||||
|
||||
private void OnTriggerEnter2D(Collider2D other)
|
||||
{
|
||||
thisItem.inRange = true;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue