Esempio n. 1
0
        public static Action Test_GetExtendPoint()
        {
            Vector2Int a_point      = new Vector2Int(-4, -4);
            Vector2Int b_point      = new Vector2Int(3, 2);
            Vector2Int target_point = AStarUtil.GetExtendPoint(a_point, b_point, 2);

            return(() => { AStarUtil.GUIShowPointList(-5, -5, 5, 5, new List <Vector2Int>()
                {
                    target_point
                }); });
        }