Cornerstone mac 破解版 启动损坏 解决

2017-11-23 雨辰 遇到的一些问题

打开终端: sudo xattr -rd com.apple.quarantine /Applications/Cornerstone.app 即可使用

阅读全文>>

标签: 技术问题

评论(0) 浏览(297)

excel System.Data.OleDb.OleDbException 问题

2017-11-1 雨辰 遇到的一些问题

最近 使用 读取excel 发现报这个错 ,原来是系统更新了截图后出现问题。 卸载就好了。 原因: 由于微软在2017-10-10更新了安全补丁(KB4041678,KB4041681),两个补丁的更新内容中,都包含有这个更新内容(Security updates to Microsoft Windows Search Component, Windows kernel-mode drivers, Microsoft Graphics Component, Internet Explorer, Windows kernel, Windows W...

阅读全文>>

标签: 技术问题

评论(0) 浏览(301)

Unity Editor 查找替换 Material材质球

2017-10-17 雨辰 Unity3D

using UnityEngine; using UnityEditor; public class ShowMaterialUsePrefab : EditorWindow { private static Material _material; private static bool isChangeMaterial = false; private static Material _changeMaterial; //window菜单下 [MenuItem("Window/查找材质球引用")] private st...

阅读全文>>

标签: Unity3D-Editer

评论(0) 浏览(616)

Unity Editor 替换 UISprite 引用 Altas

2017-10-17 雨辰 Unity3D

using UnityEngine; using UnityEditor; using System.Collections.Generic; /// <summary> /// 根据鼠标点中的对象批量修改所有精灵 图集,脚本位于Editor文件夹 /// </summary> public class ChangeAltasWindow : EditorWindow { private static bool isChangAltas = false; private static int altCount = 1; ...

阅读全文>>

标签: Unity3D-Editer

评论(0) 浏览(270)

Unity Editor 替换UILabel 引用的Font

2017-10-17 雨辰 Unity3D

using UnityEngine; using UnityEditor; /// <summary> /// 根据鼠标点中的对象批量修改所有UI字体脚本,脚本位于Editor文件夹 /// </summary> public class ChangeFontWindow : EditorWindow { //是否改变当前字体 private static bool isChangFont = false; //是否改变引用字体库 private static bool isChangFontLibrary = f...

阅读全文>>

标签: Unity3D-Editer

评论(0) 浏览(328)

NGUI 导出图集原图

2017-10-10 雨辰 Unity3D

UIAtlasMaker.cs //---------------------------------------------- // NGUI: Next-Gen UI kit // Copyright © 2011-2015 Tasharen Entertainment //---------------------------------------------- using UnityEngine; using UnityEditor; using System.Collections.Generic; using System....

阅读全文>>

标签: Unity3D-Editer Unity3D

评论(0) 浏览(252)

C# 执行bat

2017-9-22 雨辰 DOS

Process proc = null; try { string targetDir = Application.dataPath.Substring(0, Application.dataPath.IndexOf("Assets")); proc = new Process(); proc.StartInfo.FileName = targetDir + "bundle_run_copy.bat"; proc.StartInfo.Arguments =...

阅读全文>>

标签: Unity3D-Editer DOS

评论(0) 浏览(270)

lua 字符转换 utf8

2017-8-22 雨辰 Lua

function utf8(decimal) -- convert unicode code point to utf-8 encoded character string if decimal<128 then return char(decimal) end local charbytes = {} for bytes,vals in ipairs(utf8markers) do if decimal<=vals[1] then for b=bytes+1,2,-1 do local mod = decimal%64 decimal...

阅读全文>>

标签: lua

评论(0) 浏览(270)

lua 数字转换 带千位间隔符

2017-8-22 雨辰 Lua

--获取数字带千位间隔符 function Fishing_NumberFormat(num, deperator) local str1 = "" local str = tostring(num) local strLen = string.len(str) if deperator == nil then deperator = "," end deperator = tostring(deperator) for i = 1, strLen do str1 = strin...

阅读全文>>

标签: lua

评论(0) 浏览(386)

TweenText 支持千位分隔符

2017-8-22 雨辰 Unity3D

using UnityEngine; using System; using System.Collections; using System.Collections.Generic; using System.Globalization; /// <summary> /// Tween the widget's depth. /// </summary> [RequireComponent(typeof(UIWidget))] [AddComponentMenu("NGUI/Tween/Tween Text")] public class Tw...

阅读全文>>

标签: Unity3D-优化性能 Unity3D-Editer Unity3D

评论(0) 浏览(329)

雨辰 joyimp|@2011-2018 京ICP备16030765号