private static int SetGrayscale(ILuaState lua) { UGUITools.SetGrayscale(lua.ToGameObject(1), lua.ToBoolean(2)); return(0); }