using System.Collections; using System.Collections.Generic; using UnityEngine; #if UNITY_EDITOR using UnityEditor; namespace Lazy { /// <summary> /// 物体动画编辑器 /// </summary> [CustomEditor(typeof(ObjectAnim))] public class ObjectAnimEditor : Editor { bool showPath = true; string curNode = "0"; Transform temp = null; string ReName = ""; List<Transform> actor = new List<Transform>() { }; ObjectAnim myScript; bool CanShowPanel { get { if (myScript.animGroups.Count <= 0) return false; if (myScript.CurSelectGroup < 0 || myScript.CurSelec