浏览代码

fix

/siyaoH-1.17-PlatformMessage
Shiyun Wen 4 年前
当前提交
39d0136b
共有 2 个文件被更改,包括 2 次插入8 次删除
  1. 5
      com.unity.uiwidgets/Runtime/widgets/focus_manager.cs
  2. 5
      com.unity.uiwidgets/Runtime/widgets/visibility.cs

5
com.unity.uiwidgets/Runtime/widgets/focus_manager.cs


}
if (oldScope != null && child.context != null && child.enclosingScope != oldScope) {
UnityEngine.Debug.Log(
"FocusTraversalGroup.of(child.context, nullOk: true)?.changedScope(node: child, oldScope: oldScope);");
//FocusTraversalGroup.of(child.context, nullOk: true)?.changedScope(node: child, oldScope: oldScope);
//UnityEngine.Debug.Log("FocusTraversalGroup.of(child.context, nullOk: true)?.changedScope(node: child, oldScope: oldScope);");
FocusTraversalGroup.of(child.context, nullOk: true)?.changedScope(node: child, oldScope: oldScope);
}
if (child._requestFocusWhenReparented) {

5
com.unity.uiwidgets/Runtime/widgets/visibility.cs


bool maintainInteractivity = false
) : base(key: key) {
D.assert(child != null);
D.assert(replacement != null);
D.assert(visible != null);
D.assert(maintainState != null);
D.assert(maintainAnimation != null);
D.assert(maintainSize != null);
D.assert(maintainState == true || maintainAnimation == false,
() => "Cannot maintain animations if the state is not also maintained.");
D.assert(maintainAnimation == true || maintainSize == false,

正在加载...
取消
保存