Files
lllyasviel 72f9f431f4 first
2017-05-14 16:15:52 +08:00

20 lines
532 B
C#

//----------------------------------------------
// NGUI: Next-Gen UI kit
// Copyright © 2011-2015 Tasharen Entertainment
//----------------------------------------------
using UnityEngine;
using UnityEditor;
[CustomEditor(typeof(ActiveAnimation))]
public class ActiveAnimationEditor : Editor
{
public override void OnInspectorGUI ()
{
NGUIEditorTools.SetLabelWidth(80f);
ActiveAnimation aa = target as ActiveAnimation;
GUILayout.Space(3f);
NGUIEditorTools.DrawEvents("On Finished", aa, aa.onFinished);
}
}