Exemplo n.º 1
0
 internal void LoadData(UdonGraphElementData data)
 {
     _idToRow = new Dictionary <string, BlackboardRow>();
     JsonUtility.FromJsonOverwrite(data.jsonData, _customData);
     SetPosition(_customData.layout);
     this.visible = _customData.visible;
 }
Exemplo n.º 2
0
        public static UdonComment Create(UdonGraphElementData elementData, UdonGraph graph)
        {
            var comment = new UdonComment(elementData.jsonData, graph);

            comment.UpdateFromData();
            graph.MarkSceneDirty();

            return(comment);
        }
 internal void LoadData(UdonGraphElementData data)
 {
     JsonUtility.FromJsonOverwrite(data.jsonData, _customData);
     SetPosition(_customData.layout);
     this.visible = _customData.visible;
 }
Exemplo n.º 4
0
 public static UdonGroup Create(UdonGraphElementData elementData, UdonGraph graph)
 {
     return(new UdonGroup(elementData.jsonData, graph));
 }