05 2014 档案

摘要:// Cast a sphere with the desired radius. Check each object's audio source to see if audio is playing. If audio is playing // and its audibility is... 阅读全文
posted @ 2014-05-16 15:37 星尘 阅读(428) 评论(0) 推荐(0) 编辑
摘要:// Cast a sphere with the desired distance. Check each collider hit to see if it is within the field of view. Set objectFound // to the object that... 阅读全文
posted @ 2014-05-16 15:27 星尘 阅读(1166) 评论(0) 推荐(0) 编辑
摘要:PC:C:\Users\accountName\AppData\Roaming\Unity\Asset StoreMAC:"~/Library/Unity/Asset" 阅读全文
posted @ 2014-05-06 15:10 星尘 阅读(458) 评论(0) 推荐(0) 编辑
摘要:Gizmos.DrawIcon(transform.position,"1.png",true); 阅读全文
posted @ 2014-05-06 13:40 星尘 阅读(322) 评论(0) 推荐(0) 编辑
摘要:这次的代码示例是配合动画系统使用的4.3新的动画系统允许动画带有位置偏移,只需要在Animator组件中勾选Apply Root Motion我们就可以使用它了。using UnityEngine;using System.Collections;public class DonePlayerMov... 阅读全文
posted @ 2014-05-05 23:44 星尘 阅读(1290) 评论(0) 推荐(0) 编辑
摘要:移动与旋转 1player角色随asdw按键左右上下移动并旋转 1 public void Update() 2 { 3 // Reset player rotation to look in the same direction as the cam... 阅读全文
posted @ 2014-05-04 15:34 星尘 阅读(1351) 评论(1) 推荐(0) 编辑