mirror of
https://github.com/Siccity/xNode.git
synced 2025-12-20 09:16:01 +08:00
Fixed warning
This commit is contained in:
parent
1254836a84
commit
4e1b2e1fe6
@ -319,7 +319,6 @@ namespace XNodeEditor {
|
|||||||
XNode.NodePort port = node.GetPort(fieldName + " " + index);
|
XNode.NodePort port = node.GetPort(fieldName + " " + index);
|
||||||
if (hasArrayData) {
|
if (hasArrayData) {
|
||||||
if (arrayData.arraySize <= index) {
|
if (arrayData.arraySize <= index) {
|
||||||
string portInfo = port != null ? port.fieldName : "";
|
|
||||||
EditorGUI.LabelField(rect, "Array[" + index + "] data out of range");
|
EditorGUI.LabelField(rect, "Array[" + index + "] data out of range");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user