estou recebendo o erro: Assets\Scritpt\Seguir.cs(14,49): error CS1061: 'Seguir' does not contain a definition for 'Transform' and no accessible extension method 'Transform' accepting a first argument of type 'Seguir' could be found (are you missing a using directive or an assembly reference?)
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Seguir : MonoBehaviour
{
[SerializeField]
private Transform alvo;
// Update is called once per frame
private void Update()
{
var deslocamento = alvo.position - this.Transform.position;
deslocamento = deslocamento.normalized;
this.transform.position += deslocamento * Time.deltaTime;
}
}