private void Record()
 {
     if (string.IsNullOrEmpty(key))
     {
         return;
     }
     if (!GroupHide.Contains(key))
     {
         GroupHide.Record(key);
     }
 }
Example #2
0
 private void Update()
 {
     if (GroupHide.Contains(key))
     {
         ToggleHide(false);
     }
     else
     {
         ToggleHide(true);
     }
 }
 protected override void OnBeforeActive(string step)
 {
     base.OnBeforeActive(step);
     startState = !GroupHide.Contains(key);
     if (!startActive)
     {
         Record();
     }
     else
     {
         Remove();
     }
 }