campfire/Assets/Scripts/AmbientEffect.cs

15 lines
430 B
C#
Raw Normal View History

2020-04-20 22:20:32 +02:00
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[CreateAssetMenu(fileName = "Unnamed Ambient Sound Effect", menuName = "Campfire/Ambient Sound Effect")]
public class AmbientEffect : ScriptableObject {
public AudioClip[] Clips;
public float Chance;
public int RollsSinceLast;
public float MinY;
public float MaxY;
public float MinDistance;
public float MaxDistance;
}