|
I'm trying to predefine the var target : Transform; object within the script for use on a instantiated prefab.
(comments are locked)
|
|
I think i explained myself wrong but anyway, I was trying to define a target using a tag, so i had to add the following to the LookAt script.
http://forum.unity3d.com/threads/78332-Using-LookAt()-with-tags Thanks
(comments are locked)
|

Why not set target in Start()? Best I could offer given how little explanation you've given.
What's not working?