上一页 1 2 3 4 5 6 7 ··· 11 下一页
摘要: CameraFacingBillboardCameraFacingBillboardFrom Unify Community WikiJump to: navigation, searchAuthor: Neil Carter (NCarter)Contents [hide] 1 Description2 Usage3 Technical Discussion4 C# - CameraFacingBillboard.cs5 Mods6 Alternative ModDescriptionThis script makes the object which it is attached to a 阅读全文
posted @ 2013-07-21 10:32 斯玛特琦 阅读(1907) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/88999660/archive/2013/03/15/2961663.html最近网友通过网站搜索Unity3D在手机及其他平台下占用内存太大. 这里写下关于Unity3D对于内存的管理与优化.Unity3D 里有两种动态加载机制:一个是Resources.Load,另外一个通过AssetBundle,其实两者区别不大。 Resources.Load就是从一个缺省打进程序包里的AssetBundle里加载资源,而一般AssetBundle文件需要你自己创建,运行时 动态加载,可以指定路径和来源的。其实场景里所有静态的对象也有这么一个加载过程,只是 阅读全文
posted @ 2013-07-21 10:28 斯玛特琦 阅读(4404) 评论(0) 推荐(0) 编辑
摘要: http://www.haogongju.net/art/1931680首先要鄙视下unity3d的文档编写人员极度不负责任,到发帖为止依然没有更新正确的示例代码。view sourceprint?// C# Example// Builds an asset bundle from the selected objects in the project view.// Once compiled go to "Menu" -> "Assets" and select one of the choices// to build the Asset 阅读全文
posted @ 2013-07-21 10:21 斯玛特琦 阅读(5171) 评论(0) 推荐(0) 编辑
摘要: 原文:http://www.j2megame.com/html/xwzx/ty/3179.htmlUnity3D博客http://www.dapp.com.br/byDapphttp://www.m2h.nl/unity/byM2Hhttp://www.everyday3d.com/blog/byBartekdrozdzhttp://www.untoldentertainment.com/blog/category/blog/http://unity3dstore.com/byunity3dstorehttp://thecodebook.wordpress.com/bythecodebookh 阅读全文
posted @ 2013-07-20 20:50 斯玛特琦 阅读(371) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/jisi5789/archive/2013/04/22/3036589.htmlusing UnityEngine;namespaceLiulala.Project{ public classData { public System.Action OnDateChange; public int Date1 { get; private set; } public int Date2 { get; private set; } public voidSetData(intdate) { ... 阅读全文
posted @ 2013-07-20 19:42 斯玛特琦 阅读(10756) 评论(0) 推荐(0) 编辑
摘要: 这篇文章MOMO主要想大家说明一下我在Unity3D游戏开发中是如何写游戏脚本的,对于Unity3D这套游戏引擎来说入门极快,可是要想做好却非常的难。这篇文章的目的是让哪些已经上手Unity3D游戏引擎的朋友学会如何更好的写游戏脚本,当然本文这紧紧是我这么多年对游戏开发的认知,你也可以有你自己的看法。首先我们看看游戏主要是由哪几部分组成的,如下图所示,任何平台下的任何游戏核心都是由:数据、逻辑、渲染三大部分组成。当你写过》=2个平台下的游戏时你会发现其实游戏开发很“容易”,为什么“容易”呢?因为此时你会发现所有平台下开发游戏的模式,如下图中的“数据”与“逻辑”两部分真的是完全一样的,这两部分是 阅读全文
posted @ 2013-07-20 19:29 斯玛特琦 阅读(737) 评论(0) 推荐(0) 编辑
摘要: http://www.xuanyusong.com/archives/1427异步任务相信大家应该不会陌生,那么本章内容MOMO将带领大家学习Unity中的一些异步任务。在同步加载游戏场景的时候通常会使用方法 Application.LoadLevel(“yourScene”); 这句代码执行完毕后程序会干什么呢??如下图所示,这是我随便找了一个游戏场景, 在Hierarchy视图中我们可以看到该场景中“天生”的所有游戏对象。天生的意思就是运行程序前该场景中就已经存在的所有游戏对象。然后这些对象就会在执行完Application.LoadLevel(“yourScene”);方法后加载至内存当 阅读全文
posted @ 2013-07-20 19:28 斯玛特琦 阅读(275) 评论(0) 推荐(0) 编辑
摘要: 原文:http://blog.teotigraphix.com/2011/05/17/unity3d-uml-gameobject-cheat-sheet/1. GameObject_Structure2. Component_Design3. Behaviour_Design4. Animation_Design 阅读全文
posted @ 2013-07-20 19:20 斯玛特琦 阅读(843) 评论(0) 推荐(0) 编辑
摘要: http://zijan.iteye.com/blog/871207翻译自: http://www.everyday3d.com/blog/index.php/2010/10/04/c-events-and-unity3d/ zijan译 (括号内是译者自己对文章和技术的理解) (Unity3D是现在越来越流行的3D游戏引擎,它支持JavaScript,c#和Boo语言。如果你是个Unity3D的爱好者,但只会JavaScript。这里有一篇文章关于处理事件和消息传递,也许更适合你。A Useful Messaging System) 你知道C#有一个内置的事件机制吗?这个东东在Unity3. 阅读全文
posted @ 2013-07-20 19:14 斯玛特琦 阅读(525) 评论(0) 推荐(0) 编辑
摘要: using UnityEngine;using UnityEditor;using System.IO;using System;using System.Text;using System.Collections.Generic;using LitJson;public class BuildAssetBundlesFromDirectory{ static List config=new List(); static Dictionary> assetList=new Dictionary>(); [@MenuItem("Asset/Build Asset... 阅读全文
posted @ 2013-07-20 19:10 斯玛特琦 阅读(1530) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 11 下一页