can anyone help, it shows no mono behavior in unity when i look at the script

can anyone help me with this, it shows no monobehavior scripts in the file names do not match the file name

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

public class PlayerController : MonoBehaviour
{
    Camera cam;
  
    // Start is called before the first frame update
    void Start()
    {
        cam = Camera.main;
    }

    // Update is called once per frame
    void Update()
    {
        if (Input.GetMouseButtonDown(0))
        {
            Ray ray = cam.ScreenPointToRay(Input.mousePosition);
            RaycastHit hit;
            if (Physics.Raycast(ray, out hit))
            {
                Debug.Log("we hit" + hit.collider.name + " " + hit.point);
                //move our player to what we hit

                //stop focusing on any object
            }
        }
    }
}


shows this

Hi, I’m not quite sure what you are expecting to see. To me its a standard PlayerController script. Have you attached it to your player and run Unity?
Regards,
Nick

nvm i fixed it, it was problem with multiple files. thanks for ur reply anyways