2. Variables Editable Variable
Another option we have for Variables is what we call Editable.
I´ll select this Actor, that is the Blueprint that we´ve created the last class.
I´ll select... I´ll create another variable, called...
Editável. Editable.
Editable, ok?
I can be Boolean, no problem. Can be any type of variable.
And there is this option here, Editable. Can you see that?
It´s turned off for now.
So, if I select this dude... I´ll drag it over here.
Another one. And one more.
In the Details Panel, I can´t see the variable here. I can´t edit it.
But, if I turn it on...
Come here and leave it on. Editable.
Now this variable is editable.
You can see that this little eye is now open. It´s the same thing.
This variable opens the eye. So now this variable is Editable.
Ok? Now I can reach this variable through the Details Panel.
Anyone that I click, show the variable here.
Ok?
I´ll create one more, just to make it very clear.
Editable2.
I will choose another type. Rotator.
Compile. Save.
And this Rotator, I will set as Editable too.
You can see that the eye opened too. So I can click here.
Or here.
Ok?
So this variable is Editable. So now any Actor I select in the scene.
We´ll have the second variable here.
Editable, right?
X, Y e Z. Because its from Rotator type.
So if you need to Edit a variable...
while...
while in the world. Here in the Editor.
I set it as Editable.
So now you can Edit it over here. Right?
About Editable Variables, that´s it. It´s simple.
But very useful and important to know about.