rabidus-test/Assets/Sound.cs

15 lines
337 B
C#
Raw Normal View History

2023-10-09 16:51:27 +03:00
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[System.Serializable]
public class Sound
{
public AudioClip Clip;
[Range(0, 1)] public float Volume = 1;
[Range(0, 256)] public int Priority = 128;
[Range(-3, 3)] public float Pitch = 1;
public bool PlayOnAwake;
public bool Loop;
}