Quando eu tento colocar o meu código na hierarquia ele apresenta o seguinte erro: "can't add script behaviour CallbackExecutor. The script needs to derive from MonoBehaviour!".
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ControlaPersonagem : MonoBehaviour
{
    // Start is called before the first frame update
    void Start()
    {
    }
    // Update is called once per frame
    void Update() => transform.Translate(Vector.forward);
}