摘要:
选择一个敌人,按ctrl+d,复制出3个,调整一下它们的位置,不重叠,修改Tag为Enemy,禁用EnemyAI。创建Targetting脚本,绑定到Player玩家对象public class Targetting : MonoBehaviour { public List targets; public Transform selectedTarget; // Use this for initialization void Start () { targets = new List (); AddAllEnemies (); } ... 阅读全文