mirror of
https://github.com/AnnulusGames/Alchemy.git
synced 2025-01-23 00:38:23 -05:00
12 lines
270 B
Markdown
12 lines
270 B
Markdown
|
# 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;
|
||
|
```
|