// Use this for initialization void Start() { searchScript = this.gameObject.GetComponent <Player_Search>(); pickupScript = this.gameObject.GetComponent<Inventory_PickUp> (); }
// Use this for initialization void Start() { pickupScript = this.gameObject.GetComponent<Inventory_PickUp> (); searchInRange = new LinkedList<GameObject> (); closestSearch = null; timeDown = Time.time; isCurrentlySearching = false; }