I am trying to save a gameobject as a Prefab. I want to save it as a prefab as I want to place it down into a battle field. I currently can save the prefab but as soon as I do the prefab updates and becomes missing for my save script.
`using UnityEngine;
using System.Collections;
using UnityEditor;
public class SaveCraft : MonoBehaviour {
%|-1580967504_1|%
%|-1919096758_2|%
%|-303516546_3|%
PlayersCraft = PrefabUtility.GetPrefabObject(PlayersCraft) as GameObject;
%|98586054_5|%
}
}`
How do I get around that problem?