Exemple #1
0
    /*
    public TerrainData terrDat;
    int xRes;
    int yRes;

    void Start(){
        xRes = terrDat.heightmapWidth;
        yRes = terrDat.heightmapHeight;

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