您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
33 行
1.1 KiB
33 行
1.1 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 = 20;
|
|
public static readonly TextStyle fontStyle = new TextStyle(
|
|
color: Colors.white,
|
|
fontSize: fontSize
|
|
);
|
|
public const int transparent = 100;
|
|
public const int height = 50;
|
|
public static readonly Color mainColor = Color.fromARGB(transparent, 100, 100, 100);
|
|
public const string LightSwitchName = "Light Switcher";
|
|
public const string LightSliderName = "Color Slider";
|
|
|
|
public const string cubeName = "cube";
|
|
public const int cubeCount = 4;
|
|
public const string ballName = "ball";
|
|
public const int ballCount = 2;
|
|
public const string cylinderName = "cylinder";
|
|
public const int cylinderCount = 2;
|
|
|
|
public const int scaterScale = 2;
|
|
|
|
public const float delta = 0.2f;
|
|
public static readonly Vector3 far = new Vector3(1000, 0, 0);
|
|
}
|
|
}
|