FairyGUI.UIPanel.EM_Update C# (CSharp) Method

EM_Update() public method

public EM_Update ( UpdateContext context ) : void
context UpdateContext
return void
        public void EM_Update(UpdateContext context)
        {
            DisplayOptions.SetEditModeHideFlags();

            container.Update(context);

            if (setNativeChildrenOrder)
            {
                CacheNativeChildrenRenderers();

                int cnt = _renders.Count;
                int sv = context.renderingOrder++;
                for (int i = 0; i < cnt; i++)
                {
                    Renderer r = _renders[i];
                    if (r != null)
                        r.sortingOrder = sv;
                }
            }
        }

Usage Example

Example #1
0
 static public int EM_Update(IntPtr l)
 {
     try {
         FairyGUI.UIPanel       self = (FairyGUI.UIPanel)checkSelf(l);
         FairyGUI.UpdateContext a1;
         checkType(l, 2, out a1);
         self.EM_Update(a1);
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
All Usage Examples Of FairyGUI.UIPanel::EM_Update