Add a public Tranform target from another scene
So im making a top down 2d game and ive found a script to make an enemy follow the player however i have my player set to do not destroy on load because i have a level up system so the enemy im creating is in a different scene. In the script it has the player as public Transform target but i cant drag my player into it coz its from a different scene... What do i do? is there an alternate script where instead of public Transform target can i make another way of making something to find a gameobject with the tag Player and move towards that? Please help!
Your answer
Follow this Question
Related Questions
Pushing enemy makes them stop following the player 0 Answers
Enemy wont deal damage 0 Answers
Unity 5.4 2D Respawn Player at start point 1 Answer
Make enemy face left or right depending on player position 1 Answer
Is there any way to trigger a popUp UI when a player steps in a specific set of tiles? 0 Answers