I am building a 2d game with a couple of enemies that will be spawned by triggers that will have nearly the same properties. So I was thinking they will be prefabs that will be instantiated with their script’s constructors to set some specific properties for each. but i learned that constructors isnt really what I was looking for as it doesnt do well with monobehaviour. any ideas?
For monobehavior, you usually initialize data in Awake, Start, or OnEnable messages. Or you can write your own system for initializing them.