Beispiel #1
0
    //楼梯加入列表
    private void addStairsLst(Vector3Int current, Vector3Int prev)
    {
        stairVector tmpPath = new stairVector();

        tmpPath.currentVector = current;
        tmpPath.prevVector    = prev;
        stairsLst.Add(tmpPath);
    }
Beispiel #2
0
 public void createStairsLst()
 {
     for (int indexStairs = 0; indexStairs < stairsLst.Count; indexStairs++)
     {
         stairVector tmpPath = stairsLst[indexStairs];
         createStairs(tmpPath.currentVector, tmpPath.prevVector, false);
     }
     //     indexStairs++;
 }