8 using System.Collections.Generic;
14 [CustomPropertyDrawer(typeof(SerieAnimation),
true)]
17 public override string ClassName {
get {
return "Animation"; } }
18 public override void OnGUI(
Rect pos, SerializedProperty prop, GUIContent label)
20 base.OnGUI(pos, prop, label);
21 if (MakeFoldout(prop,
"m_Enable"))
23 ++EditorGUI.indentLevel;
24 PropertyField(prop,
"m_FadeInDuration");
25 PropertyField(prop,
"m_FadeInDelay");
26 PropertyField(prop,
"m_FadeOutDuration");
27 PropertyField(prop,
"m_FadeOutDelay");
28 PropertyField(prop,
"m_DataChangeEnable");
29 PropertyField(prop,
"m_DataChangeDuration");
30 PropertyField(prop,
"m_ActualDuration");
31 PropertyField(prop,
"m_AlongWithLinePath");
32 --EditorGUI.indentLevel;