3 Likes
I love the video!
1 Like
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ParticleLauncer : MonoBehaviour
{
public ParticleSystem particleLauncher;
public int emitVol = 500;
void Update()
{
if (Input.GetKey(KeyCode.Space))
{
particleLauncher.Emit(emitVol);
}
}
}
One more thing is I added the script to the Particle System. Ticked off Play on Awake and Emission. It’s simple but took me a while to work it out how to do it. There is probably a better way.
3 Likes
Great job!
1 Like
Love it!
1 Like
When i returned to Unity there was an error. Made void Update public and error went away on the scripts on the 2 Particle Systems in the inspector.
Here is boss i am working on for Level 1. Inspired by the first episode of the 1930s Flash Gordon series.
Its a Giant Mutant Iguana. Shall be adding a horn lol
1 Like
this is Iggy The Iguana in attack mode. He is going to be huge so need to dodge him with your space rocket.