ドキュメント

Unity Engine

Unity Engine

update

Delegate called periodically at the editor's tick rate for performing checks or updates.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Field
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public static EditorApplication.CallbackFunction update

Remarks

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.
Additional Resources: EditorApplication.delayCall