This commit is contained in:
2021-06-13 10:28:03 +02:00
parent eb70603c85
commit df2d24cbd3
7487 changed files with 943244 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
using UnityEngine;
namespace Unity.VisualScripting
{
[SerializationVersion("A")]
public sealed class GraphGroup : GraphElement<IGraph>
{
[DoNotSerialize]
public static readonly Color defaultColor = new Color(0, 0, 0);
public GraphGroup() : base() { }
[Serialize]
public Rect position { get; set; }
[Serialize]
public string label { get; set; } = "Group";
[Serialize]
[InspectorTextArea(minLines = 1, maxLines = 10)]
public string comment { get; set; }
[Serialize]
[Inspectable]
public Color color { get; set; } = defaultColor;
}
}