A SerializeField was defined in a script “EnemySpawner.cs” like this :
[SerializeField] EnemyMovement enemyPrefab;
EnemyMovement is a component but you were able to drag and drop an enemy prefab into it. What happens behind the scene to support this?