private void Awake()
 {
     Instance = this;
 }
Exemple #2
0
 private void Awake()
 {
     Instance = this;
     _hazards = FindObjectsOfType <Hazard>();
 }