editor-properties.md 811 B

Editor properties

You can find this sample in the tutorial project: MenuEditor properties

Explanation

This C# Beginner tutorial covers how to expose editor properties for Stride Game Studio.

By creating a public variable at the top of our script, we can create editor properties. Some of the most common properties are demonstrated. We can also create public variables that are not shown in the editor.

Editor properties

[!Video https://www.youtube.com/embed/GPiWbfsG5F0]

Code

[!code-csharpEntity]

The code above will result in the following properties inside Stride game studio.

Editor properties