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