浏览代码

fix some sample errors

/main
xingwei.zhu 5 年前
当前提交
1db8bcdd
共有 2 个文件被更改,包括 7 次插入1 次删除
  1. 4
      Tests/Editor/Menu.cs
  2. 4
      Tests/Editor/MouseHover.cs

4
Tests/Editor/Menu.cs


EditorWindow.GetWindow(typeof(Widgets));
}
//These samples are not available after Unity2019.1
/*
[MenuItem("UIWidgetsTests/Show SceneViewTests")]
public static void showSceneView() {
SceneViewTests.show();

public static void hideSceneView() {
SceneViewTests.hide();
}
}*/
}
}

4
Tests/Editor/MouseHover.cs


result, "inner");
}
//WARNING: nested MouseTracker is not supported by the current implementation that ported from flutter
//refer to this issue https://github.com/flutter/flutter/issues/28407 and wait Google guys fixing it
/*
if (nest) {
result = new Container(child: result, padding: EdgeInsets.all(40),
color: Color.fromARGB(255, 255, 0, 0));

*/
return result;
}

正在加载...
取消
保存