Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: qaaz345 on February 27, 2014, 12:22:19 PM
-
hi
sorry, I can't write english very well
-
I solved this by creating a global variable, have a scene object at the start of the scene assign that object to that global variable. Then in my prefab, just point it to the game object variable, rather then scene object.
-
Prefabs do not exist in the scene, and therefore cannot know what you want it to interact with until you create it in the scene and assign the information at runtime or between scene objects in the editor.. This is a Unity limitation and needs to be in place to separate Scene and Project hierarchies/assets.
So you placed the Look At object from the Project prefabs, but once its in the scene its just an instance of that prefab.