diff --git a/Assets/Fungus/Flowchart/Scripts/Block.cs b/Assets/Fungus/Flowchart/Scripts/Block.cs index 94bb56d9..b61f4f54 100644 --- a/Assets/Fungus/Flowchart/Scripts/Block.cs +++ b/Assets/Fungus/Flowchart/Scripts/Block.cs @@ -71,6 +71,11 @@ namespace Fungus int index = 0; foreach (Command command in commandList) { + if (command == null) + { + continue; + } + command.parentBlock = this; command.commandIndex = index++; } diff --git a/Assets/Fungus/UI/Editor.meta b/Assets/Fungus/UI/Editor.meta new file mode 100644 index 00000000..0f6bb93d --- /dev/null +++ b/Assets/Fungus/UI/Editor.meta @@ -0,0 +1,9 @@ +fileFormatVersion: 2 +guid: 7ebd428fad0b74343aa1bf752f8f05a1 +folderAsset: yes +timeCreated: 1438002256 +licenseType: Free +DefaultImporter: + userData: + assetBundleName: + assetBundleVariant: