Example #1
0
 private bool CanTriggerAnimations()
 {
     if ((animator == null) && !lookedForAnimator)
     {
         lookedForAnimator = true;
         if (panel != null)
         {
             animator = panel.GetComponentInParent <Animator>();
         }
     }
     return((animator != null) && (animationTransitions != null));
 }