edited January 2017 in Makinom Support
GiL, do you know why, in makinom, the spawned prefabs are not destroying when I used the destroy prefab node? My test setup is like this-

Setting --> Check Variable (if variable spawn is true, then success slot) --> Destroy prefab node --> wait 1 sec --> change variable( spawn to false)
Failed slot of the check variable node --> Spawn Prefab node --> wait 1 sec --> Change Variable(spawn to true)

I used this in a tick machine. I thought for sure this would destroy it, but instead, it just piles up the prefabs in my scene :)
Post edited by Shadow_Fire on
  • Check if you've enabled Clear Prefabs in the Settings of the schematic. Otherwise try adding a Restart Schematic node at the end - this will just restart the schematic in the next update without actually finishing it.
    Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
    If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
  • Ohh that solves it. I didn't even know that little option existed. Thanks!
Sign In or Register to comment.