static void ClearLinks(VFXContext container) { ClearLinks(container as IVFXSlotContainer); foreach (var block in container.children) { ClearLinks(block); } container.UnlinkAll(); container.SetDefaultData(false); }
static void ClearLinks(VFXContext container) { ClearLinks(container as IVFXSlotContainer); foreach (var block in container.children) { ClearLinks(block); } container.UnlinkAll(); container.SetDefaultData(false); }