playMaker

Author Topic: Instantiating prefabs into a scene [SOLVED]  (Read 1034 times)

GarethTheDestro

  • Playmaker Newbie
  • *
  • Posts: 8
Instantiating prefabs into a scene [SOLVED]
« 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. 
« Last Edit: February 16, 2020, 07:55:42 AM by djaydino »

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: Instantiating prefabs into a scene
« Reply #1 on: February 13, 2020, 02:48:39 PM »
Hi.
Normally you can use 'create' with a prefab.

Can you show your fsm setup?

GarethTheDestro

  • Playmaker Newbie
  • *
  • Posts: 8
Re: Instantiating prefabs into a scene
« Reply #2 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.