public void Visit(ShowTriggers node) { if (node.Schema != null) { _schemaTrimmed = true; node.Schema = null; } TableMetaRead(null); }
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(); } }
public virtual void Visit(ShowTriggers node) { VisitInternal(node.Schema); VisitInternal(node.Where); }