70 lines
1.3 KiB
C#
70 lines
1.3 KiB
C#
using System;
|
|
using UnityEngine;
|
|
|
|
namespace DarkTonic.MasterAudio
|
|
{
|
|
[Serializable]
|
|
public class ParameterCommandElement
|
|
{
|
|
public string ElementName = "YourElement";
|
|
|
|
public bool IsExpanded = true;
|
|
|
|
public bool IsEditing;
|
|
|
|
public string ProspectiveName;
|
|
|
|
public string SoundGroup = "[None]";
|
|
|
|
public bool ShowAdvanced;
|
|
|
|
public EventSounds.VariationType VariationMode;
|
|
|
|
public string VariationName = string.Empty;
|
|
|
|
public MasterAudio.SoundSpawnLocationMode SoundSpawnLocationMode;
|
|
|
|
public float Volume = 1f;
|
|
|
|
public bool OverridePitch;
|
|
|
|
public float Pitch = 1f;
|
|
|
|
public float DelaySound;
|
|
|
|
public bool ShowFadeInOutFields;
|
|
|
|
public float FadeInRangeStart;
|
|
|
|
public float FadeInRangeEnd = 1f;
|
|
|
|
public float FadeOutRangeStart = 9f;
|
|
|
|
public float FadeOutRangeEnd = 10f;
|
|
|
|
public float MaxDisplayVolumeCurveY = 1f;
|
|
|
|
public bool ShowCurves = true;
|
|
|
|
public bool AffectVolume = true;
|
|
|
|
public AnimationCurve VolumeAnimationCurve = new AnimationCurve();
|
|
|
|
public bool AffectPitch;
|
|
|
|
public AnimationCurve PitchAnimationCurve = new AnimationCurve();
|
|
|
|
public float ColliderMaxDistance;
|
|
|
|
public bool ShowSphereGizmo;
|
|
|
|
public bool AffectLowPassFilter;
|
|
|
|
public AnimationCurve LowPassAnimationCurve = new AnimationCurve();
|
|
|
|
public bool AffectHighPassFilter;
|
|
|
|
public AnimationCurve HighPassAnimationCurve = new AnimationCurve();
|
|
}
|
|
}
|