Version: Unity 6.1 Alpha (6000.1)
LanguageEnglish
  • C#

EditorApplication.update

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

public static EditorApplication.CallbackFunction update;

Description

Delegate called periodically at the editor's tick rate for performing checks or updates.

EditorApplication.update is not tied to the update loop of your project in Play mode. Instead, this callback follows the Editor's tick rate. The Editor's tick rate is not fixed and it can vary in different situations. Under normal circumstances, the Editor tries to respect the integer "ApplicationIdleTime" stored in EditorPrefs for the interval between ticks, with a default value of 4ms. However, running in the background, running in headless mode, or performing a drag operation can affect the tick rate.