public E2DWidget(Transform root) { this.name = root.name; this.root = root as RectTransform; this.node = this.root; this.animator = root.GetComponent <E2DAnimator>(); }
//private string[] _clipNames; //private int _selectedIndex; void OnEnable() { _target = target as E2DAnimator; _clipsProp = serializedObject.FindProperty("exportClips"); Rebuild(); }