mirror of
https://projects.caleb-brown.dev/UDRI-XRT/UDRIGEEKCup2024.git
synced 2025-01-22 15:18:25 -05:00
16 lines
286 B
C#
16 lines
286 B
C#
|
using UnityEngine;
|
||
|
|
||
|
namespace MAVRIC.GEEKCup.Portraits
|
||
|
{
|
||
|
public class CopyRotation : MonoBehaviour
|
||
|
{
|
||
|
public Transform source;
|
||
|
|
||
|
// Update is called once per frame
|
||
|
void Update()
|
||
|
{
|
||
|
transform.rotation = source.rotation;
|
||
|
}
|
||
|
}
|
||
|
}
|