void Start()
 {
     trailLengthHandler = GetComponentInParent <TrailLengthHandler>();
     triggerDetection   = GameObject.FindGameObjectWithTag(Tags.player).GetComponent <TriggerDetection> ();
 }
Ejemplo n.º 2
0
    void Start() {
        trailLengthHandler = GetComponentInParent<TrailLengthHandler>();
		triggerDetection = GameObject.FindGameObjectWithTag (Tags.player).GetComponent<TriggerDetection> ();
    }