LethalCompany/Lethal Company/ExportedProject/Assets/Scripts/Assembly-CSharp/PlayerAnimationEvents.cs
2023-12-22 18:30:10 -05:00

32 lines
583 B
C#

using GameNetcodeStuff;
using UnityEngine;
public class PlayerAnimationEvents : MonoBehaviour
{
public PlayerControllerB thisPlayerController;
public void PlayFootstepServer()
{
thisPlayerController.PlayFootstepServer();
}
public void PlayFootstepLocal()
{
thisPlayerController.PlayFootstepLocal();
}
public void LimpForward()
{
thisPlayerController.LimpAnimationSpeed();
}
public void LockArmsToCamera()
{
thisPlayerController.localArmsMatchCamera = true;
}
public void UnlockArmsFromCamera()
{
thisPlayerController.localArmsMatchCamera = false;
}
}