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