Esempio n. 1
0
 private void Start()
 {
     player = FindObjectOfType <Player>();
     skidMarksController = FindObjectOfType <SkidMarks>();
     carController       = GetComponentInParent <CarController>();
     particles           = GetComponent <ParticleSystem>();
 }
Esempio n. 2
0
 private new void Awake()
 {
     base.Awake();
     SkidMarks = GetComponentInChildren <SkidMarks>();
 }