- Home /
How to determine OnEnable execution order for components of the same type?
I have a
SlotManager
class that contains aList
of slots.I have 5 copies of a
Slot
class thatOnEnable
, adds itself to the slotsList
.Each
Slot
is attached to agameObject
. I've named thegameObject
Slot1
,Slot2
,Slot3
, etc etc However, theSlot1
gameObject
is not the firstSlot
class to add itself to the list.What determines the execution order for components of the same type?
can I control the execution order?
For now I've manually renamed and reorganized the
gameObjects
. But I can see this being less than ideal in the future.
Your answer

Follow this Question
Related Questions
Is it Possible To make inv system 2 Answers
Inventory System - Find Empty Slot 2 Answers
Item and Inventory for a RPG game 2 Answers
making prefabs at runtime? 2 Answers
Drag and Drop icons into slots 1 Answer