mirror of
https://github.com/lllyasviel/YGOProUnity_V2.git
synced 2026-10-20 07:59:06 +08:00
20 lines
532 B
C#
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);
|
|
}
|
|
}
|