static StackObject *MakePixelPerfect_8(ILIntepreter __intp, StackObject *__esp, IList <object> __mStack, CLRMethod __method, bool isNewObj) { ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain; StackObject *ptr_of_this_method; StackObject *__ret = ILIntepreter.Minus(__esp, 1); ptr_of_this_method = ILIntepreter.Minus(__esp, 1); global::UIWidget instance_of_this_method = (global::UIWidget)typeof(global::UIWidget).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack)); __intp.Free(ptr_of_this_method); instance_of_this_method.MakePixelPerfect(); return(__ret); }
// Token: 0x06004A9D RID: 19101 RVA: 0x00120B0C File Offset: 0x0011ED0C public static void MakePixelPerfect(Transform t) { global::UIWidget component = t.GetComponent <global::UIWidget>(); if (component != null) { component.MakePixelPerfect(); } else { t.localPosition = global::NGUITools.Round(t.localPosition); t.localScale = global::NGUITools.Round(t.localScale); int i = 0; int childCount = t.childCount; while (i < childCount) { global::NGUITools.MakePixelPerfect(t.GetChild(i)); i++; } } }