摘要: http://forum.unity3d.com/threads/44911-2-cameras-running-the-same-time1: 2个camera同时显示在一个屏幕里It is certainly possible to have multiple cameras at once. There are a couple things to know that will help with this:- Cameras have a "depth" property. This determines which order the cameras will d 阅读全文
posted @ 2013-02-07 23:49 若愚Shawn 阅读(266) 评论(0) 推荐(0) 编辑
摘要: Unity3D + C#: Cloning the Content of a Serializable ClassFound a pretty simple and neat method for cloning the contents of a serializable class from one to another:http://stackoverflow.com/questions/78536/cloning-objects-in-c-sharpHere's a copy of the script (for Unity use), to make your life ea 阅读全文
posted @ 2013-02-07 23:37 若愚Shawn 阅读(266) 评论(0) 推荐(0) 编辑
摘要: C# Object Clone WarsCloning C# objects is one of those things that appears easy but is actually quite complicated with many "gotchas." This article describes the most common ways to clone a C# object.Shallow vs. Deep CloningThere are two types of object cloning: shallow and deep. A shallow 阅读全文
posted @ 2013-02-07 23:35 若愚Shawn 阅读(1290) 评论(0) 推荐(0) 编辑
摘要: How to make a mini map for your scene in Unity3d This is my first tutorial on Unity, kinda nervous writing it... Anyway have you guys ever play Hitman, Dynasty Warrior, Starcraft or any RTS games? Usually at the bottom left of those games, there's a 2d map showing where the players are and where 阅读全文
posted @ 2013-02-07 23:25 若愚Shawn 阅读(1058) 评论(0) 推荐(0) 编辑