UnityGame/Library/PackageCache/com.unity.shadergraph/Editor/Data/Interfaces/Graph/DrawState.cs

28 lines
496 B
C#
Raw Normal View History

2024-10-27 10:53:47 +03:00
using System;
using UnityEngine;
namespace UnityEditor.Graphing
{
[Serializable]
struct DrawState
{
[SerializeField]
private bool m_Expanded;
[SerializeField]
private Rect m_Position;
public bool expanded
{
get { return m_Expanded; }
set { m_Expanded = value; }
}
public Rect position
{
get { return m_Position; }
set { m_Position = value; }
}
}
}