LethalCompany/Lethal Company/ExportedProject/Assets/Scripts/Assembly-CSharp/PlayerAnimationEvents.cs

33 lines
583 B
C#
Raw Normal View History

2023-12-22 22:51:17 +00:00
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;
}
}