예제 #1
0
 void loadAnimatorData()
 {
     if(AMTimeline.window) {
         aData = AMTimeline.window.aData;
         dependencies = aData.getDependencies(take);
     }
     else {
         this.Close();
     }
 }
예제 #2
0
 void loadAnimatorData()
 {
     GameObject go = GameObject.Find ("AnimatorData");
     if(go) {
         aData = (AnimatorData) go.GetComponent ("AnimatorData");
         dependencies = aData.getDependencies(take);
     } else {
         this.Close();
     }
 }
예제 #3
0
    void loadAnimatorData()
    {
        GameObject go = GameObject.Find("AnimatorData");

        if (go)
        {
            aData        = (AnimatorData)go.GetComponent("AnimatorData");
            dependencies = aData.getDependencies(take);
        }
        else
        {
            this.Close();
        }
    }
예제 #4
0
    void loadAnimatorData()
    {
        aData = AMTimeline.GetAnimatorData();
        if (aData != null)
        {
            dependencies = aData.getDependencies(take);
        }
        else
        {
            this.Close();
        }

        //GameObject go = GameObject.Find ("AnimatorData");
        //if(go) {
        //    aData = (AnimatorData) go.GetComponent<AnimatorData>();
        //    dependencies = aData.getDependencies(take);
        //} else {
        //    this.Close();
        //}
    }