17 lines
382 B
C#
17 lines
382 B
C#
using System;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
namespace Beyond
|
|
{
|
|
public class CrouchStep : MonoBehaviour
|
|
{
|
|
public BaseStepController baseStepController;
|
|
|
|
private void Start()
|
|
{
|
|
baseStepController.ConditionsAreMet += () => Player.Instance.ThirdPersonController.isCrouching;
|
|
}
|
|
}
|
|
} |