19 lines
386 B
C#
19 lines
386 B
C#
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);
|
|
}
|
|
}
|
|
}
|
|
|