private void OnEnable()
 {
     if (slotContext == null)
     {
         slotContext = GetComponentInParent <DisplaySlotContext>();
     }
 }
Esempio n. 2
0
 protected override void OnEnable()
 {
     if (slotContext == null)
     {
         slotContext = GetComponentInParent <DisplaySlotContext>();
     }
     base.OnEnable();
     Update();
 }