XRoom_Unity/xroom/Assets/pin.cs
2025-05-26 11:51:25 +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;
}
}