FairyGUI.UpdateContext.End C# (CSharp) 메소드

End() 공개 메소드

public End ( ) : void
리턴 void
        public void End()
        {
            working = false;

            if (OnEnd != null)
                OnEnd.Invoke();

            OnEnd = null;
        }

Usage Example

예제 #1
0
파일: Stage.cs 프로젝트: blueberryWT/CatLib
        internal void InternalUpdate()
        {
            HandleEvents();

            _updateContext.Begin();
            Update(_updateContext);
            _updateContext.End();

            if (DynamicFont.textRebuildFlag)
            {
                //字体贴图更改了,重新渲染一遍,防止本帧文字显示错误
                _updateContext.Begin();
                Update(_updateContext);
                _updateContext.End();

                DynamicFont.textRebuildFlag = false;
            }
        }
All Usage Examples Of FairyGUI.UpdateContext::End