Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: GarethTheDestro on February 13, 2020, 10:50:30 AM

Title: Instantiating prefabs into a scene [SOLVED]
Post by: GarethTheDestro on February 13, 2020, 10:50:30 AM
I'm not sure if this is a Unity or a Playmaker question, but here it is ... I am working on a simple prototype with Mario-like cannons, where every few seconds a new bullet prefab is created and shot across the screen.  It seems that I have to have that prefab existing on the screen from the start to make the creation work though.  I am wondering why this is, do I have to have a library of prefabs somewhere off the viewport in order to spawn them, or am I just overlooking something?  Thanks for any advice on this. 
Title: Re: Instantiating prefabs into a scene
Post by: djaydino on February 13, 2020, 02:48:39 PM
Hi.
Normally you can use 'create' with a prefab.

Can you show your fsm setup?
Title: Re: Instantiating prefabs into a scene
Post by: GarethTheDestro on February 15, 2020, 10:55:12 AM
Thanks for the quick reply djaydino, I actually did some further playing with the project and got this working just fine ... false alarm.  Thanks again.