Unity開源工具開發筆記-使用GraphView改進PlayableGraphVisualizer
PlayableGraphVisualizer可以幫助我們可視化Runtime時的Playable運行狀態,對開發者了解Playable的結構有非常大的幫助。
缺點:
有個缺點是多個output時,graph無法顯示全
https://github.com/Unity-Technologies/graph-visualizer/issues/9
解決方案:
將Visualizer的功能移植到GraphView上
Git鏈接:https://github.com/terrynoya/YJZPlayableGraphView
目前功能仍在開發中
unity新的UIElement中的GraphView組件,提供了節點編輯和預覽的全部功能,同時還提供縮放,拖動功能,運行時性能比IMGUI更好。
下面是圖例: