Files
com.misaki.graph-view/Runtime/Models/StickyNoteData.cs
Misaki 7eec130b39 Added defualt graph properties inspector;
Added sticky note;

Changed the name of BaseNode to SlotContainerNode in case we need other type of nodes in the future;
2024-11-04 01:02:30 +09:00

22 lines
486 B
C#

using System;
using UnityEditor.Experimental.GraphView;
using UnityEngine;
namespace Misaki.GraphView
{
[Serializable]
public class StickyNoteData
{
[SerializeField]
private string _id = Guid.NewGuid().ToString();
public string title;
public string contents;
public Rect position;
public StickyNoteTheme theme;
public StickyNoteFontSize fontSize;
public string Id => _id;
}
}