Ejemplo n.º 1
0
 // Start is called before the first frame update
 void Start()
 {
     scripttodisplaytext = (InteractScript)FindObjectOfType(typeof(InteractScript));
     count = (JerseyCount)FindObjectOfType(typeof(JerseyCount));
     StartCoroutine("Police");
 }
Ejemplo n.º 2
0
 private void Awake()
 {
     globalcounter = (JerseyCount)FindObjectOfType(typeof(JerseyCount));
     thisaudio     = GetComponent <AudioSource>();
 }