playMaker

Author Topic: Playmaker and Pooling Manager question  (Read 2480 times)

mweyna

  • Full Member
  • ***
  • Posts: 242
Playmaker and Pooling Manager question
« on: July 07, 2013, 02:15:07 AM »
So when trying to spawn objects via pool manager 4, what is the best way to return the instance name as opposed to the original pre-fab name?

My spawn action looks like "Game Object: Prefab01, "and it creates the object Prefab01(Clone)001 in engine. If I want to de-spawn the object what is the best way to get that variable name?

- Ian

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Playmaker and Pooling Manager question
« Reply #1 on: July 09, 2013, 02:39:26 AM »
Hi,

When you use "Pmt Spawn", you can store the spawned gameObject in the property "Spawned Game Object", then you can query its name using "get name" action.

 Does that make sense?

bye,

 Jean