How to edit public blueprint variables within another blueprint's details panel?

Hi I have a blueprint with some public variables that lets me spawn a grid of lights, and I would like to use it within another blueprint and still be able to adjust the number of lights in the grid. Here is the lighting blueprint:

I want to use it inside another actor / blueprint that is a house I will be using repeatedly throughout my level, so I attach it as a child of that blueprint.

But in the details panel of that blueprint I don’t see the public variables like I see them in the level editor details panel

Blueprint details panel:

Desired result from level editor details panel:

Is there any way that I can edit these public variables within the house parent blueprint? Preferably using the details panel. I also know of things like level instances, would this solve my issue?

I saw another forum post that mentions something similar to this but, I just want to make sure I’m understanding this correctly because it seems like this should certainly be possible. Or maybe my Unity prefab brain just can’t comprehend that blueprint’s can’t be nested lol.

Hey @MartiniBomb!

Try this:

Add a public variable to the house just like on the lighting grid.

On the Construction Script of the BP_House, use GetComponents on self and look for instances of LightingGrid, then pass your HouseLightColor to GridLightColor on any confirmed LightingGrids using a ForEach loop.

Hope that helps!

Is this kindof what you’re describing? I can’t seem to understand how to edit the variables within LightGrid.

It would be nice if I could just edit and place the LightGrid blueprints around the house blueprint like I can in the editor? Is there any other tool that I could use to make instances of the house object, while still being able to edit the actors within the house master instance, as if they are in the level?

Hello @MartiniBomb

Expand field I’ve boxed on the screenshot. If you haven’t assigned a category for each variable in your “parent class” they will be under default.

2 Likes

Thank you so much, exactly what I was looking for!

1 Like