How do I save this as prefab?
I have two players. One of them has a script with a "public Transform otherPlayer; " property. In Unity, I've added otherPlayer to the free slot of the FirstPlayerScript and now I want to save the FirstPlayer as prefab. When I did that (I drag and drop the FirtPlayer to the prefabs folder) and then checked if the prefab has all information stored correctly, I saw that the slot in FirstPlayerScript for OtherPlayer was empty, when it shouldn't be. When I try to Instantiate the prefab, it, again, appears with the OtherPlayer slot empty. How can I fix that and save the prefab with the OtherPlayer slot filled ?
Your answer
![](https://koobas.hobune.stream/wayback/20220612063651im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Asign prefab to game object based on tag 1 Answer
change speed again after collision prefab has been destroyed 0 Answers
How do I make my ships lasers come out straight 0 Answers
Unity is not recognising MonoBehaviour,Unity not recognising MonoBehaviour 0 Answers
Cannot Parent a Prefab Instantiated with Resource.Load() 1 Answer