12 lines
157 B
C#
12 lines
157 B
C#
|
using System;
|
||
|
using UnityEngine;
|
||
|
|
||
|
[Serializable]
|
||
|
public class RandomAudioClip
|
||
|
{
|
||
|
public AudioClip audioClip;
|
||
|
|
||
|
[Range(0f, 100f)]
|
||
|
public int chance = 100;
|
||
|
}
|