예제 #1
0
 public void Visit(ShowTriggers node)
 {
     if (node.Schema != null)
     {
         _schemaTrimmed = true;
         node.Schema    = null;
     }
     TableMetaRead(null);
 }
예제 #2
0
        private void _applyModSettings()
        {
            foreach (var o in GameObject.FindObjectsOfType <GameObject>().Where(e => e.GetComponent <CrossingBehaviour>() != null))
            {
                o.GetComponent <CrossingBehaviour>().UpdateSettings((bool)EnableSound.GetValue(), (bool)EnableBarrier.GetValue(), (bool)Breakable.GetValue());
            }

            foreach (var o in GameObject.FindObjectsOfType <GameObject>().Where(e => e.GetComponent <CrossingTriggerBehaviour>() != null))
            {
                o.GetComponent <Renderer>().enabled = (bool)ShowTriggers.GetValue();
                o.GetComponent <CrossingTriggerBehaviour>().Verbose = (bool)Verbose.GetValue();
            }
        }
예제 #3
0
 public virtual void Visit(ShowTriggers node)
 {
     VisitInternal(node.Schema);
     VisitInternal(node.Where);
 }