您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
34 行
841 B
34 行
841 B
using RMGUI.GraphView;
|
|
using UnityEngine;
|
|
|
|
namespace UnityEditor.Graphing.Drawing
|
|
{
|
|
/*public class MaterialGraphElementView : IGraphElementView
|
|
{
|
|
private bool m_Selected;
|
|
|
|
public string name { get; set; }
|
|
|
|
public Capabilities capabilities { get; set; }
|
|
|
|
public Rect position { get; set; }
|
|
|
|
public bool selected
|
|
{
|
|
get { return m_Selected; }
|
|
set
|
|
{
|
|
// Set new value (toggle old value)
|
|
if ((capabilities & Capabilities.Selectable) == Capabilities.Selectable)
|
|
{
|
|
m_Selected = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
protected void OnEnable()
|
|
{
|
|
capabilities = Capabilities.Normal | Capabilities.Movable | Capabilities.Selectable;
|
|
}
|
|
}*/
|
|
}
|