mirror of
https://github.com/Siccity/xNode.git
synced 2026-03-26 22:49:02 +08:00
!WT
This commit is contained in:
parent
8454b1f1a6
commit
4ab79fe0bb
@ -19,7 +19,7 @@ namespace XNode {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public IO direction {
|
public IO direction {
|
||||||
get { return _direction; }
|
get { return _direction; }
|
||||||
internal set { _direction = value; }
|
internal set { _direction = value; }
|
||||||
}
|
}
|
||||||
@ -48,7 +48,7 @@ namespace XNode {
|
|||||||
valueType = null;
|
valueType = null;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
public Type ValueType {
|
public Type ValueType {
|
||||||
get {
|
get {
|
||||||
if (valueType == null && !string.IsNullOrEmpty(_typeQualifiedName)) valueType = Type.GetType(_typeQualifiedName, false);
|
if (valueType == null && !string.IsNullOrEmpty(_typeQualifiedName)) valueType = Type.GetType(_typeQualifiedName, false);
|
||||||
@ -59,10 +59,11 @@ namespace XNode {
|
|||||||
if (value != null) _typeQualifiedName = value.AssemblyQualifiedName;
|
if (value != null) _typeQualifiedName = value.AssemblyQualifiedName;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private Type valueType;
|
private Type valueType;
|
||||||
#if UNITY_EDITOR
|
#if UNITY_EDITOR
|
||||||
public const string FIELDNAMEEDITOR = nameof(_fieldName);
|
public const string FIELDNAMEEDITOR = nameof(_fieldName);
|
||||||
|
public const string ConnectionsEditor = nameof(connections);
|
||||||
#endif
|
#endif
|
||||||
[SerializeField] private string _fieldName;
|
[SerializeField] private string _fieldName;
|
||||||
[SerializeField] private Node _node;
|
[SerializeField] private Node _node;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user