/// <summary> /// Loads the Out Animations Preset that is set to load at runtime. /// </summary> void LoadRuntimeOutAnimationsPreset() { if (loadOutAnimationsPresetAtRuntime) { Anim presetAnimation = UIAnimatorUtil.GetOutAnim(outAnimationsPresetCategoryName, outAnimationsPresetName); if (presetAnimation != null) { outAnimations = presetAnimation.Copy(); } } }
/// <summary> /// Loads the In Animations Preset that is set to load at runtime. /// </summary> void LoadRuntimeInAnimationsPreset() { if (loadInAnimationsPresetAtRuntime) { Anim presetAnimation = UIAnimatorUtil.GetInAnim(inAnimationsPresetCategoryName, inAnimationsPresetName); if (presetAnimation != null) { inAnimations = presetAnimation.Copy(); } } }