docs.unity.cn
    Show / Hide Table of Contents

    Enum CanvasUpdate

    Values of 'update' called on a Canvas update.

    Namespace: UnityEngine.UI
    Syntax
    public enum CanvasUpdate
    Remarks

    If modifying also modify m_CanvasUpdateProfilerStrings to match.

    Fields

    Name Description Value
    Prelayout

    Called before layout.


    0
    Layout

    Called for layout.


    1
    PostLayout

    Called after layout.


    2
    PreRender

    Called before rendering.


    3
    LatePreRender

    Called late, before render.


    4
    MaxUpdateValue

    Max enum value. Always last.


    5
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on 12 June 2023