您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
37 行
1.3 KiB
37 行
1.3 KiB
using uiwidgets;
|
|
using UnityEngine;
|
|
using Color = Unity.UIWidgets.ui.Color;
|
|
using TextStyle = Unity.UIWidgets.painting.TextStyle;
|
|
|
|
namespace UIWidgetsSample.RaycastableScene
|
|
{
|
|
public static class RaycastableSceneConfig
|
|
{
|
|
public const int fontSize = 10;
|
|
public static readonly TextStyle fontStyle = new TextStyle(
|
|
color: Colors.white,
|
|
fontSize: fontSize
|
|
);
|
|
public const int transparent = 100;
|
|
public const int height = 30;
|
|
public static readonly Color mainColor = Colors.grey;
|
|
public const string LightSwitchName = "Light Switcher";
|
|
public const string LightOn = "Light On";
|
|
public const string LightOff = "Light Off";
|
|
public const string LightSliderName = "Light Color";
|
|
|
|
public const string cubeName = "cube";
|
|
public const int cubeCount = 4;
|
|
public const string ballName = "ball";
|
|
public const int ballCount = 3;
|
|
public const string cylinderName = "cylinder";
|
|
public const int cylinderCount = 2;
|
|
|
|
public const int scaterScale = 2;
|
|
|
|
public const float delta = 0.2f;
|
|
public const float cameraSpeed = 8;
|
|
public const float scaleSceneBoard = 0.5f;
|
|
public static readonly Vector3 far = new Vector3(1000, 0, 0);
|
|
}
|
|
}
|