30 lines
891 B
C#
30 lines
891 B
C#
|
#if UNITY_EDITOR
|
|||
|
using UnityEditor;
|
|||
|
|
|||
|
namespace VLB
|
|||
|
{
|
|||
|
[CustomEditor(typeof(EffectPulse))]
|
|||
|
[CanEditMultipleObjects]
|
|||
|
public class Editor_EffectPulse : Editor_EffectAbstractBase<EffectPulse>
|
|||
|
{
|
|||
|
SerializedProperty frequency = null;
|
|||
|
SerializedProperty intensityAmplitude = null;
|
|||
|
|
|||
|
protected override void DisplayChildProperties()
|
|||
|
{
|
|||
|
if (FoldableHeader.Begin(this, EditorStrings.Effects.HeaderTimings))
|
|||
|
{
|
|||
|
EditorGUILayout.PropertyField(frequency, EditorStrings.Effects.FrequencyPulse);
|
|||
|
}
|
|||
|
FoldableHeader.End();
|
|||
|
|
|||
|
if (FoldableHeader.Begin(this, EditorStrings.Effects.HeaderVisual))
|
|||
|
{
|
|||
|
EditorGUILayout.PropertyField(intensityAmplitude, EditorStrings.Effects.IntensityAmplitude);
|
|||
|
}
|
|||
|
FoldableHeader.End();
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
#endif
|