示例#1
0
 public void UnRegisterDynamic(GraphDynamicModifier modifier)
 {
     if (this.dynamicModifiers.Contains(modifier) == true)
     {
         if (this.dynamicModifiers.Remove(modifier) == true)
         {
             modifier.ApplyForced(disabled: true);
             this.BuildAreas();
         }
     }
 }
示例#2
0
 public void RegisterDynamic(GraphDynamicModifier modifier)
 {
     if (this.dynamicModifiers.Contains(modifier) == false)
     {
         if (this.dynamicModifiers.Add(modifier) == true)
         {
             modifier.ApplyForced();
             this.BuildAreas();
         }
     }
 }