mirror of
https://projects.caleb-brown.dev/UDRI-XRT/UDRIGEEKCup2024.git
synced 2025-01-22 15:18:25 -05:00
17 lines
310 B
C#
17 lines
310 B
C#
using System;
|
|
using UnityAtoms.BaseAtoms;
|
|
using UnityEngine;
|
|
|
|
namespace GolfControls
|
|
{
|
|
public class PositionRecorder : MonoBehaviour
|
|
{
|
|
public Vector3Variable positionVariable;
|
|
|
|
private void Update()
|
|
{
|
|
positionVariable.SetValue(transform.position);
|
|
}
|
|
}
|
|
}
|