예제 #1
0
 // Use this for initialization
 protected override void Start()
 {
     base.Start();
     this.stageComponent = GameObject.FindGameObjectWithTag("Stage").GetComponent<Stage>();
     this.SetTracePoints(this.stageComponent.GetPoints());
     this.gameObject.GetComponent<LineTracer>().SetTracePoints(stageComponent.GetPoints());
 }