//if this platform is part of a path, this function set the previous and next transform //public void SetNeighbouringWP(PathSection prev, PathSection next){ // prevNeighbouringWP=prev; // nextNeighbouringWP=next; //} public void SetPathObject(PathTD p, PathSection pSec, PathSection prev, PathSection next) { PathOnPlatform path=new PathOnPlatform(p, pSec, prev, next); pathObjects.Add(path); }
public void SetPathObject(PathTD p, PathSection pSec, PathSection prev, PathSection next) { PathOnPlatform path = new PathOnPlatform(p, pSec, prev, next); pathObjects.Add(path); }