mirror of
https://github.com/PashaBibko/The-Mobius-Line.git
synced 2026-04-03 17:39:03 +00:00
14 lines
325 B
C#
14 lines
325 B
C#
using UnityEngine;
|
|
|
|
public partial class PlayerMovement : MonoBehaviour
|
|
{
|
|
private void OnTriggerStay(Collider other)
|
|
{
|
|
// Stops it trying to find the normals of portals
|
|
// if (other.CompareTag("Portal")) { return; }
|
|
|
|
// Else adds it to the list
|
|
// m_WallCollisions.Add(other);
|
|
}
|
|
}
|