mirror of
https://github.com/PashaBibko/The-Mobius-Line.git
synced 2026-04-04 01:49:07 +00:00
Now able to look any direction during wall ride
Also made a key bind for wallride
This commit is contained in:
9
Assets/Scripts/Player/PlayerCollisions.cs
Normal file
9
Assets/Scripts/Player/PlayerCollisions.cs
Normal file
@@ -0,0 +1,9 @@
|
||||
using UnityEngine;
|
||||
|
||||
public partial class PlayerMovement : MonoBehaviour
|
||||
{
|
||||
private void OnTriggerStay(Collider other)
|
||||
{
|
||||
m_WallCollisions.Add(other);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user