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

12 lines
322 B
C#

using UnityEngine;
public class MatchLocalPlayerPosition : MonoBehaviour
{
private void LateUpdate()
{
if (GameNetworkManager.Instance != null && GameNetworkManager.Instance.localPlayerController != null)
{
base.transform.position = GameNetworkManager.Instance.localPlayerController.transform.position;
}
}
}