Hi, so what needs to happen is when the player walks into my trigger box it starts all the particle systems with the tag steam. The script is on my trigger box, and at the moment I just have public ParticleSystem, to find the particle systems. Thank you.
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class steamtrig : MonoBehaviour
{
public Transform player;
public ParticleSystem steam;
public ParticleSystem steam2;
// Start is called before the first frame update
void Start()
{
steam.Stop();
steam2.Stop();
}
// Update is called once per frame
void OnCollisionEnter(player)
{
steam.GetComponent<ParticleSystem>().enableEmission = true;
steam2.GetComponent<ParticleSystem>().enableEmission = true;
player.GetComponent<FirstPersonAIO>().enabled = false;
}
}