Second commit

This commit is contained in:
ThomasCharester committed 2026-09-20 15:26:03 +03:00
commit 36840f3ad4
999 files changed
+61364

No files matched your search

@@ -0,0 +1,15 @@
using System;
using UnityEngine;
namespace Code.Infrastructure.Audio
{
public class AudioSourceFollower : MonoBehaviour
{
[NonSerialized]
public Transform FollowTarget;
private void Update()
{
if(FollowTarget) transform.SetPositionAndRotation(FollowTarget.position, FollowTarget.rotation);
}
}
}