コード例 #1
0
ファイル: E2DWidget.cs プロジェクト: linkabox/e2dexporter
 public E2DWidget(Transform root)
 {
     this.name     = root.name;
     this.root     = root as RectTransform;
     this.node     = this.root;
     this.animator = root.GetComponent <E2DAnimator>();
 }
コード例 #2
0
    //private string[] _clipNames;
    //private int _selectedIndex;

    void OnEnable()
    {
        _target    = target as E2DAnimator;
        _clipsProp = serializedObject.FindProperty("exportClips");
        Rebuild();
    }