Unity graph tool solution based on different implementation now focused on Unity.Experimental.Graphview
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
728 B

using System;
using System.Collections.Generic;
using TNodeCore.Runtime.Models;
using UnityEngine;
namespace TNode.TNodeCore.Editor.Models{
/// <summary>
/// Placemats hold the nodes
/// </summary>
[Serializable]
public class PlacematModel:EditorModel{
/// <summary>
/// In the experimental Graphview, no hostModels should be add.ignore it in most cases.
/// </summary>
[SerializeReference]
public List<Model> hostModels = new List<Model>();
/// <summary>
/// zOrder of the placemat
/// </summary>
public int zOrder;
/// <summary>
/// title of the placemat
/// </summary>
public string title;
}
}