Skip to content

Commit 86e11e5

Browse files
committed
[修改]1. 修改注释
1 parent 91daf32 commit 86e11e5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Runtime/UI/GComponent.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ public class GComponent : GObject
1919
public Container rootContainer { get; private set; }
2020

2121
/// <summary>
22-
/// Content container. If the component is not clipped, then container==rootContainer.
22+
/// 内容容器。如果组件未被裁剪,则 container==rootContainer
2323
/// </summary>
2424
public Container container { get; protected set; }
2525

2626
/// <summary>
27-
/// ScrollPane of the component. If the component is not scrollable, the value is null.
27+
/// ScrollPane 的组件。如果组件不可滚动,则值为 null
2828
/// </summary>
2929
public ScrollPane scrollPane { get; private set; }
3030

@@ -120,7 +120,7 @@ public EventListener onDrop
120120
}
121121

122122
/// <summary>
123-
/// Draw call optimization switch.
123+
/// Draw call optimization 开关。
124124
/// </summary>
125125
public bool fairyBatching
126126
{
@@ -141,7 +141,7 @@ public void InvalidateBatchingState(bool childChanged)
141141
}
142142

143143
/// <summary>
144-
/// If true, mouse/touch events cannot pass through the empty area of the component. Default is true.
144+
/// 如果为 true,则鼠标/触摸事件无法穿过组件的空白区域。默认值为 true
145145
/// </summary>
146146
public bool opaque
147147
{

0 commit comments

Comments
 (0)