From d8763a2ce57075d8bce3a490b3921ff67bd6c58d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Farias?= Date: Sat, 11 Mar 2023 00:10:54 +0000 Subject: [PATCH] Implemented Set Local Variable block --- Assets/Content/XML UI/Blocks.xml | 12 +++++ Assets/Content/XML UI/Blocks.xml.meta | 7 +++ .../Content/XML UI/UIResourceDatabase.asset | 2 + Assets/Scripts/Blocks.meta | 8 ++++ .../Blocks/SetLocalVariableInstruction.cs | 32 ++++++++++++++ .../SetLocalVariableInstruction.cs.meta | 11 +++++ .../Patches/ProgramSerializerPatches.cs | 30 ++++++++++++- .../Patches/VariableElementScriptPatches.cs | 44 +++++++++++++++++++ .../VariableElementScriptPatches.cs.meta | 11 +++++ Assets/Scripts/Patches/VizzyToolboxPatches.cs | 41 +++++++++++++++++ .../Patches/VizzyToolboxPatches.cs.meta | 11 +++++ 11 files changed, 208 insertions(+), 1 deletion(-) create mode 100644 Assets/Content/XML UI/Blocks.xml create mode 100644 Assets/Content/XML UI/Blocks.xml.meta create mode 100644 Assets/Scripts/Blocks.meta create mode 100644 Assets/Scripts/Blocks/SetLocalVariableInstruction.cs create mode 100644 Assets/Scripts/Blocks/SetLocalVariableInstruction.cs.meta create mode 100644 Assets/Scripts/Patches/VariableElementScriptPatches.cs create mode 100644 Assets/Scripts/Patches/VariableElementScriptPatches.cs.meta create mode 100644 Assets/Scripts/Patches/VizzyToolboxPatches.cs create mode 100644 Assets/Scripts/Patches/VizzyToolboxPatches.cs.meta diff --git a/Assets/Content/XML UI/Blocks.xml b/Assets/Content/XML UI/Blocks.xml new file mode 100644 index 0000000..cebb1f5 --- /dev/null +++ b/Assets/Content/XML UI/Blocks.xml @@ -0,0 +1,12 @@ + + +