Can I set a default prefab to a script, so that if I attach the script to a new object, it’ll have the public var transforms already set?
I have several types of enemies, and the script needs to be able to instantiate them. The script needs to be connected to several different things, where the enemies will be created. The way I’m doing it now is adding the script to a new object (like a road) and then dragging all the enemies into the slots.
Is there an easier way to do this, or is there something I don’t understand enough?