unity3d
cheneystudy
爱游戏
展开
-
unity Get与Post的方式获得数据
using UnityEngine; using System.Collections; public class JsonTest : MonoBehaviour { private string url = "http://map.exceedu.com/iface/login.php?opt=logcheck";原创 2014-06-04 11:18:13 · 20436 阅读 · 0 评论 -
Unity加载和内存管理机制
Unity加载和内存管理机制转载 2014-06-04 11:11:35 · 1764 阅读 · 0 评论 -
unity 获取方法运行时间
方法一: Stopwatch sw = new Stopwatch(); sw.Start(); TestMethod(); sw.Stop(); UnityEngine.Debug.Log(string.Format("total: {0} ms",sw.ElapsedMilliseconds)); 方法二:需要打开打开Profiler界面找到那一帧 Profiler.Beg...原创 2018-12-14 17:06:05 · 2756 阅读 · 0 评论