Comment faire un objet 2D suivez un autre objet 2D dans Unity 2D

using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class FishFollow : MonoBehaviour
{
    public float Speed =;

    private Transform target;


    void Start() 
    {
        target = GameObject.FindGameObjectWithTag("Player").GetCOmponent<transform>();
    }

    void Update()
    {

        transform.position = Vector2.MoveTowards(transform.position, target.position, Speed * Time.deltaTime);
    }
}
Successful Scarab