Quantcast
Channel: Answers for "jump on enemy cause particle effect in c#"
Browsing latest articles
Browse All 6 View Live

Answer by hexagonius

update needs to be Update

View Article



Answer by ElDo

OK then set it to "Play On Awake" and Instantiate it with OnCollisionEnter or OnTriggerEnter depending on how your Colliders are Setup. The script that Instantiates the GameObject with the Particle...

View Article

Answer by Caruzo

I might be wrong but try to swap the position of PlayParticles() and Destroy: void OnTriggerStay(Collider other) { PlayParticles() Destroy(this.gameObject); } I have noticed that you cannot make...

View Article
Browsing latest articles
Browse All 6 View Live




Latest Images