摘要:
在制作NPC汽车的路线,摆点->放入数组->画线;每个点放入数组很浪费时间,所以我考虑把所有点放入一个父级,以此来在edito模式的时候,动态获取所有点信息,然后绘制路线。我这里以脚本的enable状态来控制数组元素的获取。 1 using UnityEngine; 2 using System.C... 阅读全文
摘要:
1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using LuaInterface; 6 7 namespace LuaTest001 8 { 9 ... 阅读全文