From dcf5e3ea3523ba22d296af5359c91f302350b1ec Mon Sep 17 00:00:00 2001 From: xLinka Date: Wed, 8 May 2024 10:08:00 +0100 Subject: [PATCH] Delete CreateEmptySlot.cs Removed Problamatic node for issue 1909 https://github.com/Yellow-Dog-Man/Resonite-Issues/issues/1909 --- .../ProtoFlux/Slots/CreateEmptySlot.cs | 33 ------------------- 1 file changed, 33 deletions(-) delete mode 100644 ProjectObsidian/ProtoFlux/Slots/CreateEmptySlot.cs diff --git a/ProjectObsidian/ProtoFlux/Slots/CreateEmptySlot.cs b/ProjectObsidian/ProtoFlux/Slots/CreateEmptySlot.cs deleted file mode 100644 index 4767bfd..0000000 --- a/ProjectObsidian/ProtoFlux/Slots/CreateEmptySlot.cs +++ /dev/null @@ -1,33 +0,0 @@ -using FrooxEngine; -using FrooxEngine.ProtoFlux; -using ProtoFlux.Core; -using ProtoFlux.Runtimes.Execution; - -namespace ProtoFlux.Users.Avatar -{ - [ContinuouslyChanging] - [NodeCategory("ProtoFlux/Obsidian/Slots")] - public class CreateEmptySlot : ActionBreakableFlowNode - { - public readonly ObjectInput Parent; - public readonly ObjectInput Name; - public readonly ObjectInput Tag; - public readonly ValueInput Persistent; - public readonly ValueInput Active; - - public readonly ObjectOutput Slot; - - protected override bool Do(FrooxEngineContext context) - { - Slot slot = context.LocalUser.LocalUserSpace.AddSlot(); - slot.Parent = Parent.Evaluate(context); - slot.Name = Name.Evaluate(context); - slot.Tag = Tag.Evaluate(context); - slot.PersistentSelf = Persistent.Evaluate(context); - slot.ActiveSelf = Active.Evaluate(context); - - Slot.Write(slot, context); - return true; - } - } -} \ No newline at end of file