mirror of
https://github.com/Siccity/xNode.git
synced 2025-12-21 09:46:03 +08:00
Example Display node init fix. Release version.
This commit is contained in:
parent
42d13ad6a9
commit
8bb30e2f87
@ -3,6 +3,7 @@
|
|||||||
namespace BasicNodes {
|
namespace BasicNodes {
|
||||||
public class DisplayValue : Node {
|
public class DisplayValue : Node {
|
||||||
protected override void Init() {
|
protected override void Init() {
|
||||||
|
base.Init();
|
||||||
if (!HasPort("input")) AddInstanceInput(typeof(object), "input");
|
if (!HasPort("input")) AddInstanceInput(typeof(object), "input");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user