神岛 API 文档 - ArenaPro版
    Preparing search index...

    UI屏幕

    UI Screen

    Hierarchy (View Summary)

    Index

    Properties

    children: readonly UiNode[]

    节点的子节点。如需要调整子节点结构,应修改子节点的parent属性。

    The child nodes of this node. To adjust the child node structure, you should modify the parent property of the child node.

    clone: () => this

    克隆节点,包括其子节点。

    Clones the node, including its children.

    管理节点相关的事件。

    Manages events related to the node.

    name: UiScreenName

    该屏幕的标识。

    The identifier for this screen.

    parent: UiNode

    节点的父节点,非根节点的父节点为空时,该节点将不会被渲染。

    The parent node of this node. If the parent of a non-root node is empty, the node will not be rendered.

    uiScale: UiScale

    节点等比例缩放数据。

    Node proportional scaling data.

    visible: boolean

    屏幕是否可见。

    Whether the screen is visible.

    zIndex: number

    屏幕层级,层级越高的屏幕会显示在顶部,遮盖住层级较低的屏幕。

    The screen layer level. Screens with a higher z-index will be displayed on top, covering screens with a lower z-index.

    Methods