FiE-Game/Assets/TrailEffect/Effects/Trails/Editor/SmokePlumeEditor.cs

20 lines
619 B
C#
Raw Normal View History

2023-07-26 13:38:51 +02:00
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
namespace PigeonCoopToolkit.Effects.Trails.Editor
{
[CustomEditor(typeof(SmokePlume))]
[CanEditMultipleObjects]
public class SmokePlumeEditor : TrailEditor_Base
{
protected override void DrawTrailSpecificGUI()
{
EditorGUILayout.PropertyField(serializedObject.FindProperty("ConstantForce"));
EditorGUILayout.PropertyField(serializedObject.FindProperty("RandomForceScale"));
EditorGUILayout.PropertyField(serializedObject.FindProperty("TimeBetweenPoints"));
}
}
}