您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
23 行
897 B
23 行
897 B
using System.Collections.Generic;
|
|
using Unity.UIWidgets.rendering;
|
|
using Unity.UIWidgets.ui;
|
|
using Unity.UIWidgets.widgets;
|
|
using TextStyle = Unity.UIWidgets.painting.TextStyle;
|
|
|
|
namespace UIWidgetsSample.RaycastableScene
|
|
{
|
|
public class RightUIPanel : StatelessWidget
|
|
{
|
|
public override Widget build(BuildContext context)
|
|
{
|
|
return new Column(
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
children : new List<Widget>{
|
|
new Text("HOW TO PLAY: \n " +
|
|
"(1) Change lights using the switcher and slider at the top;\n " +
|
|
"(3) Zoom/Hide/Show a Origami using the list on the left;\n " +
|
|
"(4) Click on the Origami and drag to rotate it;", style: new TextStyle(color: Color.white, fontSize: 8f))}
|
|
);
|
|
}
|
|
}
|
|
}
|