I want to add multiple emitters in a single State, let's say gunFlashEmitter and IonCannonFlashEmitter so they would play at the same time when the weapon would reach that Weapon image State. Kind of like one emitter does a flashing star, and another does a lightning effect. I want both to happen simultaneously. How do I add the two together to do that?
// Initial start up state
...
stateEmitter[5] = IonCannonFlashEmitter;
...
I'm tempted to just put one beside the other and divide them with a space but I am pretty sure that doesn't work.
// Initial start up state
...
stateEmitter[5] = IonCannonFlashEmitter gunFlashEmitter; //Probably wrong
...
Can someone help me out?