FairyGUI.UIPainter.ApplyModifiedProperties C# (CSharp) Method

ApplyModifiedProperties() public method

public ApplyModifiedProperties ( bool sortingOrderChanged ) : void
sortingOrderChanged bool
return void
        public void ApplyModifiedProperties(bool sortingOrderChanged)
        {
            if (sortingOrderChanged)
            {
                if (Application.isPlaying)
                    SetSortingOrder(sortingOrder, true);
                else
                    EMRenderSupport.orderChanged = true;
            }
        }

Usage Example

 static public int ApplyModifiedProperties(IntPtr l)
 {
     try {
         FairyGUI.UIPainter self = (FairyGUI.UIPainter)checkSelf(l);
         System.Boolean     a1;
         checkType(l, 2, out a1);
         self.ApplyModifiedProperties(a1);
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
All Usage Examples Of FairyGUI.UIPainter::ApplyModifiedProperties