how use update function in custom editor

pls give neat and clean code

[ExecuteInEditMode]

1 Like

not worked…

negnifity… can u tell me in which situation editor scriptting is very useful

https://assetstore.unity.com/tools/utilities?category=tools&orderBy=5

Writing editor extensions and custom editors/property drawers.

1 Like

The manual page I linked has an example.

In edit mode Update() is not called continuously, even if you use ExecuteInEditMode, only when something changes in the viewport. Additionally, coroutines are disabled. In this scenario, typically you put your initialization code into OnEnable, and your deinitialization code into OnDisable. Those functions will be called often.

1 Like

thank… but if any solution…

void update()
{
move player per frame
}