Siccity / xNode

Unity Node Editor: Lets you view and edit node graphs inside Unity
MIT License
3.3k stars 582 forks source link

Is there any tools export to json or lua? #340

Closed huanghaobin closed 2 years ago

Esildor commented 2 years ago

XNode is just ScriptableObjects, so you use Unity's JsonUtility.ToJson(someGraphAsset). It's not super feature-rich and might not help you a ton since Unity just serializes the instance ID of serialized UnityEngine.Object so the linking of nodes might be hard.

What's your use case?

Siccity commented 2 years ago

Not currently, no. But you can implement it using JsonUtility or Newtonsoft.Json