public Grammar(bool addToScene = true) : base() { guid = Guid.NewGuid(); if (addToScene) { SceneManager.AddGrammar(this); } stagedOutputs = new List <SGIO>(); subNodes = new List <GraphNode>(); assignedObjects = new List <ShapeObject>(); paramGroups = DefaultParam(); }