using System; using System.Collections; using System.Collections.Generic; using UnityEngine; namespace BITKit { public class LocationAdditiveElement : MonoBehaviour { [SerializeField] private LocationAdditive locationAdditive; private void Update() { locationAdditive.AddPosition(transform.localPosition); locationAdditive.AddEuler(transform.localEulerAngles); } } }