Fixed small visual bugs

This commit is contained in:
weedmjac000
2026-01-21 10:56:26 -07:00
parent fc5efd89bf
commit 649345ec01
814 changed files with 1649 additions and 8 deletions

View File

@@ -0,0 +1,15 @@
using UnityEngine;
public class DoubleCheck : MonoBehaviour
{
public bool isInsideGround = false;
private void OnCollisionEnter2D(Collision2D other)
{
if (other.gameObject.CompareTag("Ground")) isInsideGround = true;
}
private void OnCollisionExit2D(Collision2D other)
{
if (other.gameObject.CompareTag("Ground")) isInsideGround = false;
}
}