I’ve been looking for a solution for a while now and I can’t understand why I get an error on this line of code:
public void gameOver()
{
ParticleSystem.Instantiate(original: DeathParticles, position: GameObject.FindGameObjectWithTag("Player").transform.position);
gameOverScene.SetActive(true);
}
I get the following error:
No overload for method 'Instantiate' takes 2 arguments
I just don’t understand why