12 lines
322 B
C#
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;
|
|
}
|
|
}
|
|
}
|