static public int ClearRequestedMipmapLevel(IntPtr l) { try { UnityEngine.Texture2D self = (UnityEngine.Texture2D)checkSelf(l); self.ClearRequestedMipmapLevel(); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }
static int ClearRequestedMipmapLevel(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); UnityEngine.Texture2D obj = (UnityEngine.Texture2D)ToLua.CheckObject(L, 1, typeof(UnityEngine.Texture2D)); obj.ClearRequestedMipmapLevel(); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int ClearRequestedMipmapLevel(IntPtr L) { #if UNITY_EDITOR ToluaProfiler.AddCallRecord("UnityEngine.Texture2D.ClearRequestedMipmapLevel"); #endif try { ToLua.CheckArgsCount(L, 1); UnityEngine.Texture2D obj = (UnityEngine.Texture2D)ToLua.CheckObject(L, 1, typeof(UnityEngine.Texture2D)); obj.ClearRequestedMipmapLevel(); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }