public void CanGetQuickAnimators( [Values(QuickPanelAnimatorController.QuickAnimation.LongFadeCanvasGroup, QuickPanelAnimatorController.QuickAnimation.QuickFadeCanvasGroup)] QuickPanelAnimatorController.QuickAnimation animationType) { var animator = QuickPanelAnimatorController.GetAnimatorController(animationType); Assert.IsTrue(animator != null); }
/// <summary> /// Loads an animator controller from assets for test /// </summary> /// <returns></returns> private AnimatorController GetAnimatorController() { return(QuickPanelAnimatorController.GetAnimatorController(QuickPanelAnimatorController.QuickAnimation .QuickFadeCanvasGroup)); }