never let me cook again
This commit is contained in:
parent
63e5e950de
commit
13bb58ea03
6 changed files with 56 additions and 4 deletions
12
Assets/Scripts/ItemPickupRange.cs
Normal file
12
Assets/Scripts/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