Example #1
0
 void OnEnable()
 {
     animationCtrl = new AnimationClipControl();
     animationCtrl.playEndCallback = OnPlayEnd;
     RegistEvent();
     InitPersistenceList();
 }
Example #2
0
 void Clear()
 {
     Selection.activeObject = null;
     currentSelectObj       = null;
     realTragetGo           = null;
     animationClipNames     = null;
     animationClips         = null;
     animationCtrl          = null;
 }