public Blueprint CreateNewBlueprint(BlueprintGroup g) { var c = BlueprintModelAsset.Create <Blueprint> (Component); c.rect = new Rect(100, 100, 128, 128); if (HotBP != null) { c.rect.x = HotBP.rect.x + HotBP.rect.width + 50; c.rect.y = HotBP.rect.y + 50; } Component.blueprints.Add(c); c.group = g; ActiveGroup = g; HotBP = c; focusControl = "blueprintID"; Component.SetDirty(); return(c); }
public void Delete(BlueprintGroup g) { removedGroups.Add(g); }
public BlueprintGroupController(BlueprintGroup group) { }