For my project for college, I need to create an enemy, convert it into a prefab and then initiate it into my scene. However for some reason, the transform data from my script is not being saved on my enemy prefab, why is this? Is there a potential fix for saving this data?
I have linked some screenshots below of my issue and my enemy script so far:
][1],I’m making a game for a college project and I’m stuck when converting my enemies into prefabs, most of the data for the enemy is saved apart from my player transform. Any solutions to this issue? I have linked some screenshots below of my prefabs and the script it belongs to, hope it helps: