Using Unity 5.0.2f1 for Mac.
Created a UI Text object (called LifeCountUI) in the scene. Then, on my Player's script (attached to my Player GameObject), I have the following field serialized:
[SerializeField]
public Text LifeCountText;
This Player GameObject is also a prefab.
My intention was to drag the LifeCountUI in the inspector to the serialized field on the Player GameObject. However, Unity does not allow me to do this when I select the Player prefab.
It only works, if I drag an instance of the Player prefab on to the scene, and then drag the LifeCountUI to the field (but obviously, that is not the prefab).
Am I doing something wrong here? I essentially want to have the ability to control the text field from the prefab instance.