Alchemy/docs/articles/en/attributes/disable-in-edit-mode.md

12 lines
270 B
Markdown
Raw Normal View History

2024-02-20 00:49:47 -05:00
# Disable In Edit Mode Attribute
During Edit Mode, the field becomes disabled.
![img](../../../images/img-attribute-disable-in-edit-mode-editor.png)
![img](../../../images/img-attribute-disable-in-edit-mode-player.png)
```cs
[DisableInEditMode]
public float foo;
```