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; }
|
||||
internal set { _direction = value; }
|
||||
}
|
||||
@ -48,7 +48,7 @@ namespace XNode {
|
||||
valueType = null;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
public Type ValueType {
|
||||
get {
|
||||
if (valueType == null && !string.IsNullOrEmpty(_typeQualifiedName)) valueType = Type.GetType(_typeQualifiedName, false);
|
||||
@ -59,10 +59,11 @@ namespace XNode {
|
||||
if (value != null) _typeQualifiedName = value.AssemblyQualifiedName;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private Type valueType;
|
||||
#if UNITY_EDITOR
|
||||
public const string FIELDNAMEEDITOR = nameof(_fieldName);
|
||||
public const string ConnectionsEditor = nameof(connections);
|
||||
#endif
|
||||
[SerializeField] private string _fieldName;
|
||||
[SerializeField] private Node _node;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user