コード例 #1
0
 public void Awake()
 {
     indicatorInst = GameObject.FindWithTag("Road/curveIndicator").GetComponent <RoadDrawing>();
     position.y    = Mathf.NegativeInfinity;
 }
コード例 #2
0
ファイル: Vehicle.cs プロジェクト: r2d2m/roadbuilder
 void Awake()
 {
     Reset();
     drawing = GameObject.Find("curveIndicator").GetComponent <RoadDrawing>();
 }