XRoom_Unity/Assets/pin.cs
2025-05-31 10:20:20 +03:30

19 lines
354 B
C#

using UnityEngine;
public class pin : MonoBehaviour
{
public Transform pinTarget;
// Start is called once before the first execution of Update after the MonoBehaviour is created
void Start()
{
}
// Update is called once per frame
void Update()
{
transform.position= pinTarget.position;
}
}