2025-05-09 10:20:30 +08:00

15 lines
286 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class KeepSize : MonoBehaviour
{
public Transform targetPosition;
// Update is called once per frame
void Update()
{
transform.position = targetPosition.position;
}
}