Did you attach your script to any of the game objects after creating it?
drag and drop your script onto any game object (Direction Light) and play the game.
Script has to be attached to a game object (any game object) in the hierarchy panel.
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class test: MonoBehaviour
{
// Start is called before the first frame update
void Start()
{
Debug.Log("Hello");
Debug.Log("Hello");
Debug.Log("Hello");
Debug.Log("Hello");
Debug.Log("Hello");
}
// Update is called once per frame
void Update()
{
}
}