void Awake() { skillSlot = new SkillSlot(this.gameObject); slotImage = new SlotImage(skillSlot.GameObject.transform.FindChild(imageElement).gameObject); hotKey = new SlotHotKey(skillSlot.GameObject.transform.FindChild(hotKeyElement).gameObject); energyConsuption = new SlotEnergyConsumption(skillSlot.GameObject.transform.FindChild(energyConsuptionElement).gameObject); skillSlot.Add(slotImage); skillSlot.Add(hotKey); skillSlot.Add(energyConsuption); cooldown = new SlotCooldown(slotImage.GameObject.transform.FindChild(cooldownElement).gameObject); slotImage.Add(cooldown); }