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

13 lines
322 B
C#
Raw Normal View History

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