摘要:
一、可视化创建及事件绑定 先写一段 Button 的响应代码: 1 using UnityEngine; 2 using UnityEngine.UI; 3 4 public class ButtonTest : MonoBehaviour 5 { 6 public Text m_Text; 7 8 阅读全文
摘要:
一、扇形攻击范围检测 1 using System.Collections.Generic; 2 using UnityEngine; 3 4 public class AttackRange : MonoBehaviour 5 { 6 // 攻击目标 7 public Transform Targ 阅读全文