using System; using UnityEngine; using UnityEngine.Serialization; namespace TNode.TNodeCore.Editor.Models{ /// /// It's called the graphview - model .not the ViewModel concept in MVVM. /// Help graph view to persist its own data /// [Serializable] public class GraphViewModel:EditorModel{ /// /// The scaling factor of a graph view. /// public float persistScale = 1f; /// /// The offset of a graph view in the canvas /// public Vector2 persistOffset = Vector2.zero; /// ///Is this graph view have a blackboard turn on. /// public bool isBlackboardOn; } }