2016年12月15日
摘要: 转载自:http://www.jb51.net/article/48001.htm 一、python中对文件、文件夹操作时经常用到的os模块和shutil模块常用方法。1.得到当前工作目录,即当前Python脚本工作的目录路径: os.getcwd()2.返回指定目录下的所有文件和目录名:os.li 阅读全文
posted @ 2016-12-15 10:06 魔天天 阅读(58047) 评论(1) 推荐(2) 编辑
  2016年12月14日
该文被密码保护。 阅读全文
posted @ 2016-12-14 18:34 魔天天 阅读(40) 评论(0) 推荐(0) 编辑
  2016年12月7日
摘要: 参考:http://php.net/manual/zh/ 阅读全文
posted @ 2016-12-07 16:27 魔天天 阅读(263) 评论(0) 推荐(0) 编辑
  2016年12月6日
摘要: using UnityEngine; using System.Collections; using System.Collections.Generic; using System.Reflection; public class TestAssembly : MonoBehaviour,System.IDisposable { [System.Serializable] public c... 阅读全文
posted @ 2016-12-06 10:40 魔天天 阅读(276) 评论(0) 推荐(0) 编辑
  2016年11月14日
摘要: void TestListSort(){ List st = new List (); st.Add ("abcd"); st.Add ("abcdad"); st.Add ("a"); st.Add ("adadfaff"); st.Sort (ssort); foreach(string str in st){ print (str); } } in... 阅读全文
posted @ 2016-11-14 15:11 魔天天 阅读(250) 评论(0) 推荐(0) 编辑
摘要: using UnityEngine; using System.Collections; public class TestCoroutine : MonoBehaviour { void Start () { StartCoroutine (test()); print ("_______________________________"); TestIenumerator (... 阅读全文
posted @ 2016-11-14 14:25 魔天天 阅读(388) 评论(0) 推荐(0) 编辑
  2016年8月15日
摘要: 1 local threads = {} 2 function test() 3 for i=1,10,1 do 4 coroutine.yield(i); 5 end 6 end 7 local co = nil; 8 9 for i=1,5,1 do 10 co = coroutine.create(test) 11 ta... 阅读全文
posted @ 2016-08-15 13:53 魔天天 阅读(251) 评论(0) 推荐(0) 编辑
  2016年6月3日
摘要: 转载自:http://www.myexception.cn/mobile/1902628.html [UnityShader]渲染队列、ZWrite和ZTest 参考链接:http://blog.csdn.net/zhuyingqingfen/article/details/18979547 htt 阅读全文
posted @ 2016-06-03 21:50 魔天天 阅读(1173) 评论(0) 推荐(0) 编辑
  2016年5月10日
摘要: http://www.uml.org.cn/sjms/201211023.asp#2 阅读全文
posted @ 2016-05-10 14:05 魔天天 阅读(154) 评论(0) 推荐(0) 编辑
  2015年7月21日
摘要: 来源于:http://www.open-open.com/lib/view/open1328059700311.html在UML类图中,常见的有以下几种关系:泛化(Generalization),实现(Realization),关联(Association),聚合(Aggregation),组合(C... 阅读全文
posted @ 2015-07-21 10:23 魔天天 阅读(150) 评论(0) 推荐(0) 编辑