随笔分类 -  Unity3D

摘要:当需要判断一物体是否位于当前物体前方扇形范围内时 运用距离差和角度差实现判断 //扇形攻击 实现类型_1 public bool UmbrellaAttact( Transform attacker ,Transform attacked ,float angle, float radius) { 阅读全文
posted @ 2018-10-22 12:53 RainPainter雨画 阅读(676) 评论(0) 推荐(0)
摘要:using System.Collections;using System.Collections.Generic;using UnityEngine;using UnityEngine.AI; public class PlayerMove : MonoBehaviour { public Gam 阅读全文
posted @ 2018-10-14 17:45 RainPainter雨画 阅读(176) 评论(0) 推荐(1)
摘要: 阅读全文
posted @ 2018-10-14 17:29 RainPainter雨画 阅读(778) 评论(0) 推荐(1)