コード例 #1
0
 public static void Hide()
 {
     Transition_.AnimateOut(() => {
         Localization.OnCultureChanged -= RefreshBarContainer;
         ActionLabelBar_.RecycleAllChildren();
     });
 }
コード例 #2
0
        // PRAGMA MARK - Static
        public static void Show(ActionLabelViewConfig[] viewConfigs)
        {
            ActionLabelBar_.RecycleAllChildren();

            foreach (var viewConfig in viewConfigs)
            {
                ActionLabelView.Create(viewConfig.LocalizationKey, viewConfig.ActionType, ActionLabelBar_);
            }

            RefreshBarContainer();
            Localization.OnCultureChanged += RefreshBarContainer;

            Transition_.AnimateIn();
        }
コード例 #3
0
ファイル: Arena.cs プロジェクト: shuaibimran/laserbeak
 public void AnimateOut(Action callback)
 {
     Transition_.AnimateOut(callback);
 }