yeah i dunno what you want me to write.
This commit is contained in:
parent
79fcc7ce34
commit
9304861963
3 changed files with 355 additions and 2 deletions
|
|
@ -17,7 +17,6 @@ public class Chemical : MonoBehaviour
|
|||
//we need to detect of the object is overlapping the pot!
|
||||
//i guess doing an overlap circle will work, not too intensive so it doesn't make sense to do anything complex
|
||||
Collider2D isOverlapPot = Physics2D.OverlapPoint(transform.position, potLayer);
|
||||
Debug.Log(isOverlapPot);
|
||||
if (isOverlapPot)
|
||||
{
|
||||
MarisaPotionMaker.instance.AddChemical(this);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue