예제 #1
0
    void Start()
    {
        roadGen = (RoadGenerator)GameObject.Find("Road").GetComponent <RoadGenerator>();

        foreach (Transform t in transform)
        {
            roadGen.ReportVertex(t.position);
        }
    }