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...
阅读全文
摘要:// 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...
阅读全文
摘要:PC:C:\Users\accountName\AppData\Roaming\Unity\Asset StoreMAC:"~/Library/Unity/Asset"
阅读全文
摘要:Gizmos.DrawIcon(transform.position,"1.png",true);
阅读全文
摘要:这次的代码示例是配合动画系统使用的4.3新的动画系统允许动画带有位置偏移,只需要在Animator组件中勾选Apply Root Motion我们就可以使用它了。using UnityEngine;using System.Collections;public class DonePlayerMov...
阅读全文
摘要:移动与旋转 1player角色随asdw按键左右上下移动并旋转 1 public void Update() 2 { 3 // Reset player rotation to look in the same direction as the cam...
阅读全文