Typo fixes
This commit is contained in:
@@ -2,11 +2,11 @@ using UnityEngine;
|
||||
|
||||
namespace Movement
|
||||
{
|
||||
public class CollissionChecker : MonoBehaviour
|
||||
public class CollisionChecker : MonoBehaviour
|
||||
{
|
||||
private Collider2D[] nonAllocColliderArray = new Collider2D[5];
|
||||
|
||||
public LayerMask LayerMask = ~((1 << 6) | (1 << 7)); // Everything except the "Player" and "Enemy" layer
|
||||
public LayerMask LayerMask { get; set; } = ~((1 << 6) | (1 << 7)); // Everything except the "Player" and "Enemy" layer
|
||||
public bool IsCollided => Physics2D.OverlapBoxNonAlloc(transform.position, transform.localScale, 0, nonAllocColliderArray, LayerMask) != 0;
|
||||
|
||||
public void OnDrawGizmosSelected()
|
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 02e036b6321fff34cbd154fd665a8b23
|
||||
guid: 7000c8c0eb91b2d4cb9a0e3ee1b609a7
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
Reference in New Issue
Block a user