title: Store References to Scene Objects in prefabs?
body: <p>Look i have a player and enemy in my scene. i am using vector2.movetowards to move my enemy towards my player but my enemy is a prefab so i have to give it a reference of my player in the inspector as a target but when i delete enemy from scene because its a prefab it deletes the reference of the player  what should i do here is my code thanks i just want that how to permanently store the reference of this target in prefab</p>
  
  <pre><code>using UnityEngine;
  using System.Collections;
  
  public class moveTowards : MonoBehaviour
  {       
      public Transform target;
      public float speed;
  
      void Update()
      {
          float step = speed * Time.deltaTime;
  
          transform.position = Vector2.MoveTowards(transform.position, target.position, step);
      }
  }
  </code></pre>