Version: Unity 7.0 Alpha (7000.0)
LanguageEnglish
  • C#

SystemHandle.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

Declaration

public void Update(WorldUnmanaged world);

Parameters

Parameter Description
world The WorldUnmanaged for the World instance this handle belongs to.

Description

Update the system manually.

If a system manually calls another system's SystemHandle.Update method from inside its own ISystem.OnUpdate method, EntityQuery objects in the caller system might see unexpected and incorrect change version numbers based on the processing performed in the target system. For this reason, you shouldn't manually update one system from another if both systems are processing entity data, especially if either uses EntityQuery.SetChangedVersionFilter. This guidance doesn't apply to ComponentSystemGroup or other "pass-through" systems which only update other systems without manipulating entity data.