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