/* public TerrainData terrDat; int xRes; int yRes; void Start(){ xRes = terrDat.heightmapWidth; yRes = terrDat.heightmapHeight; } */ void Awake() { sp = GameObject.Find ("PipeManager").GetComponent<storePipes> (); }
void Awake() { lr = lrgo.GetComponent<LineRenderer> (); sp = GameObject.Find ("PipeManager").GetComponent<storePipes> (); }
void Awake() { lr = lrgo.GetComponent <LineRenderer> (); sp = GameObject.Find("PipeManager").GetComponent <storePipes> (); }
/* * public TerrainData terrDat; * int xRes; * int yRes; * * * void Start(){ * xRes = terrDat.heightmapWidth; * yRes = terrDat.heightmapHeight; * * } */ void Awake() { sp = GameObject.Find("PipeManager").GetComponent <storePipes> (); }