1
0
mirror of https://github.com/Siccity/xNode.git synced 2026-03-26 22:49:02 +08:00

!W(Node Port) _fieldName字段增加一个常量提供给Editor使用

This commit is contained in:
Icarus 2019-12-08 17:28:47 +08:00
parent fe313be5ee
commit 17eb6cdae1

View File

@ -60,6 +60,9 @@ namespace XNode {
private Type valueType;
private Type _typeConstraintBaseType;
#if UNITY_EDITOR
public const string FieldNameEditor = nameof(_fieldName);
#endif
[SerializeField] private string _fieldName;
[SerializeField] private Node _node;
[SerializeField] private string _typeQualifiedName;