quantum-space-buddies/QSB/Audio/PlayerAudioManager.cs
Mister_Nebula 430e61a401 cleanup
2021-12-15 21:11:30 +00:00

18 lines
487 B
C#

using UnityEngine;
namespace QSB.Audio
{
internal class PlayerAudioManager
{
public static QSBPlayerAudioController InitRemote(Transform playerBody)
{
var REMOTE_Audio_Player = new GameObject("REMOTE_Audio_Player");
REMOTE_Audio_Player.transform.parent = playerBody;
REMOTE_Audio_Player.transform.localPosition = Vector3.zero;
REMOTE_Audio_Player.transform.localScale = Vector3.one;
return REMOTE_Audio_Player.AddComponent<QSBPlayerAudioController>();
}
}
}