上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 30 下一页
摘要: 做游戏少不了控制,但是一个成熟的游戏引擎,是不能简单仅仅获取键盘中或者遥感确定的按键来控制,要考虑到用户更改游戏按键的情况,当然也得考虑到不同设备的不通输入方式,比如U3D是可以运行在iphone上的,iphone可没有键盘和上下左右键,他有平衡控制(简单化解为水平和垂直两个方向度数),如果用户使用... 阅读全文
posted @ 2014-06-19 17:24 softimagewht 阅读(1975) 评论(0) 推荐(0)
摘要: 在手游的运营过程中,更新资源是比不可少的。资源管理第一步是资源打包。传统的打包可以将所有物件制成预设Prefab,打包成场景。今天我们来一起学习官方推荐的Assetbundle,它是Unity(Pro)提供的资源打包策略。利用AssetBundle,可以将几乎所有的资源都打包封装,便于客户端更新下载... 阅读全文
posted @ 2014-06-08 18:55 softimagewht 阅读(3968) 评论(1) 推荐(0)
摘要: Unity3D提供了强大的编辑器扩展机制,在项目开发中,如果可以将一些繁琐的工作放在编辑器扩展中进行,则会大大提高效率。本文对编辑器扩展进行了一些总结,希望对有兴趣编写编辑器扩展的开发人员有所帮助。当我们编写一个编辑器扩展时,一般可以从以下四个类继承:1 .ScriptableObject 最常见的... 阅读全文
posted @ 2014-06-04 16:07 softimagewht 阅读(5297) 评论(0) 推荐(0)
摘要: // TransformCopier.cs v 1.1// homepage: http://wiki.unity3d.com/index.php/CopyTransform using UnityEngine;using UnityEditor;using System.Collections; ... 阅读全文
posted @ 2014-06-03 11:46 softimagewht 阅读(477) 评论(0) 推荐(0)
摘要: http://wiki.unity3d.com/index.php/AssetMover 阅读全文
posted @ 2014-06-03 11:30 softimagewht 阅读(250) 评论(0) 推荐(0)
摘要: class AddComponentRecursively extends ScriptableWizard { var componentName : String = ""; @MenuItem ("GameObject/Add Component Recursively..."... 阅读全文
posted @ 2014-06-03 11:24 softimagewht 阅读(252) 评论(0) 推荐(0)
摘要: using UnityEngine;using UnityEditor;using System.Collections; public class AddParent : ScriptableObject{ [MenuItem ("GameObject/+Add Parent")] s... 阅读全文
posted @ 2014-06-03 11:22 softimagewht 阅读(227) 评论(0) 推荐(0)
摘要: using UnityEngine;using UnityEngine;using UnityEditor;using System.Collections; public class AddChild : ScriptableObject{ [MenuItem ("GameObject/... 阅读全文
posted @ 2014-06-03 11:21 softimagewht 阅读(206) 评论(0) 推荐(0)
摘要: 调用类using UnityEngine;[System.Serializable]public class Bezier : System.Object { public Vector3 p0; public Vector3 p1; public Vector3 p2; ... 阅读全文
posted @ 2014-06-03 09:54 softimagewht 阅读(1931) 评论(0) 推荐(0)
摘要: Shader "Custom/VertDisplace" { Properties { _MainTex ("Base (RGB)", 2D) = "white" {} } SubShader {... 阅读全文
posted @ 2014-06-03 08:10 softimagewht 阅读(1140) 评论(0) 推荐(0)
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 30 下一页