void loadAnimatorData() { if(AMTimeline.window) { aData = AMTimeline.window.aData; dependencies = aData.getDependencies(take); } else { this.Close(); } }
void loadAnimatorData() { GameObject go = GameObject.Find ("AnimatorData"); if(go) { aData = (AnimatorData) go.GetComponent ("AnimatorData"); dependencies = aData.getDependencies(take); } else { this.Close(); } }
void loadAnimatorData() { GameObject go = GameObject.Find("AnimatorData"); if (go) { aData = (AnimatorData)go.GetComponent("AnimatorData"); dependencies = aData.getDependencies(take); } else { this.Close(); } }
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(); //} }