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