static public int EnableFade(IntPtr l) { try { ScreenFade self = (ScreenFade)checkSelf(l); System.Single a1; checkType(l, 2, out a1); self.EnableFade(a1); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }