完整被动技能代码 using UnityEngine; using System.Collections; public class AI : MonoBehaviour { private Hashtable table; void Start() { table = new Hashtable(); } void Update() { } //离开碰撞 void OnTriggerExit(Collider other) { //如果消失 if (other.transform.name =…