docs.unity.cn
    Show / Hide Table of Contents

    Method OnUpdate

    OnUpdate()

    Implement OnUpdate to perform the major work of this system.

    Declaration
    protected abstract void OnUpdate()
    Remarks

    The system invokes OnUpdate once per frame on the main thread when any of this system's EntityQueries match existing entities, or if the system has the AlwaysUpdateSystemAttribute.

    See Also
    ShouldRunSystem()
    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Wednesday, July 6, 2022
    Terms of use