コード例 #1
0
    public void SetNext(TerrainTag innext)
    {
        next = innext;
        Transform [] nextroadPath;
        nextroadPath = next.getRoadPath();

        roadPathTransformArray.Add(nextroadPath[1]);
        roadPathTransformArray.Add(nextroadPath[2]);
    }
コード例 #2
0
    public void SetPrev(TerrainTag inprev)
    {
        prev = inprev;

        Transform [] prevroadPath;
        prevroadPath = prev.getRoadPath();

        roadPathTransformArray.Insert(0, prevroadPath[prevroadPath.Length - 1]);
        roadPathTransformArray.Insert(0, prevroadPath[prevroadPath.Length - 2]);
    }