void Awake() { SetCallback("closeButton", Hide); right = GetName("Right").GetComponent <LevelUpEquipRight>(); right.PutInGem = PutInGem; left = GetName("Left").GetComponent <LevelUpEquipLeft>(); left.parent = this; regEvt = new List <MyEvent.EventType>() { MyEvent.EventType.UpdateItemCoffer, }; RegEvent(); }