Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: Captaincrud on October 13, 2016, 03:22:56 AM
-
I need a way to grab a game object from a array and child it to a game object so i can switch game objects at run time. this is so it can switch with mupitle game objects at diffrent times.
-
Hi,
you can do that i different ways but the basics are the same.
make an array, place the object (or prefabs) in it. use "Array Get" to select an object.
Then, depending on your needs you can use "Create Object" to create from a prefab (or duplicate from an object in the scene) OR you can have you objects already in place and use "Activate Game Object" to activate/deactivate your object OR you can move your objects from off screen.