20 lines
505 B
C#
20 lines
505 B
C#
using Code.Infrastructure.Generators;
|
|
using UnityEngine;
|
|
using UnityEngine.AddressableAssets;
|
|
|
|
namespace Code.Infrastructure.Audio
|
|
{
|
|
[Config("Configs/Audio/AudioInfo", true)]
|
|
public class AudioInfo
|
|
{
|
|
[ToConfig] public AudioNames GroupName;
|
|
[ToConfig] public int id;
|
|
[ToConfig] public AssetReference fileReference;
|
|
}
|
|
[Config("Configs/Audio/AudioSource")]
|
|
public class AudioSourcePrefab
|
|
{
|
|
[ToConfig] public AssetReference prefabReference;
|
|
}
|
|
}
|