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 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 = 4; public const float scaleSceneBoard = 0.4f; public static readonly Vector3 far = new Vector3(1000, 0, 0); } }