Assets.Kanau.ThreeScene.ThreeSceneExportVisitor.WriteScriptVariableGroup(System.Collections.Generic.List)

Here are the examples of the csharp api class Assets.Kanau.ThreeScene.ThreeSceneExportVisitor.WriteScriptVariableGroup(System.Collections.Generic.List) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Example 7

1. Example

Project: unity-scene-web-exporter
Source File: ThreeSceneExportVisitor.cs
void WriteUserdata(Object3DElem el) {
            using (var s1 = new JsonScopeObjectWriter(writer)) {
                if (el.HasTag) {
                    s1.WriteKeyValue("tag", el.Tag);
                }
                if (el.HasLayer) {
                    s1.WriteKeyValue("layer", el.Layer);
                }

                s1.WriteKeyValue("isStatic", el.IsStatic);

                foreach (var kv in el.VarGroupDict) {
                    writer.WritePropertyName(kv.Key);
                    WriteScriptVariableGroup(kv.Value);
                }
            }
        }