If anyone happened to be following my threads I apologize for all the spaceship questions, yet here’s another.
I have my enemy ship set as a prefab, and in the script I have var Waypoint1 : Transform;
Then I took the ship and made it a prefab, the script is applied to the prefab. But it wont let me assign the waypoint object onto the waypoint var option in the Inspector. Why is that? I hope this question made sense and I look forward to a response, thanks.
Bump. Let me rephrase,
Say I have a prefab with a sphere in it. Then I attach a script with
var Other : Transform;
Then, in the inspector, when I try to drag a cube into the Other transform, I get the circle with the line going through it, in other words Unity wont let me drag it. Why not?
The waypoint was assigned to the spaceship before you turned the spaceship into a prefab?
Well since my original post I have tried multiple things, applied the waypoint to the ship then turned it to a prefab, turned it to a prefab THEN tried to apply it but I cant seam to drop anything into the transform in the inspector.