using System; using UnityAtoms.BaseAtoms; using UnityEngine; namespace GolfControls { public class PositionRecorder : MonoBehaviour { public Vector3Variable positionVariable; private void Update() { positionVariable.SetValue(transform.position); } } }