void Awake()
 {
     exFire = GameObject.FindGameObjectWithTag(TagManager.FIRE_RADIUS_TRIGGER).GetComponent<ExtinguishFire>();
     fire = gameObject.GetComponentsInChildren<ParticleSystem>();
     player = GameObject.FindGameObjectWithTag("Player");
     audio.clip = PeeSound;
     isPeeing = false;
 }
Exemple #2
0
 void Awake()
 {
     instance = this;
 }
 public static void OnExtinguishFire()
 {
     ExtinguishFire?.Invoke();
 }