预设体

This commit is contained in:
yulong 2023-11-27 19:57:18 +08:00
parent a3c7156ac7
commit 79c7dd0edb
2 changed files with 4 additions and 4 deletions

View File

@ -383,8 +383,8 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: -130, y: -120}
m_SizeDelta: {x: 400, y: 120}
m_AnchoredPosition: {x: -76.7, y: -120}
m_SizeDelta: {x: 755.5176, y: 120}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &4918099273865021772
CanvasRenderer:
@ -415,7 +415,7 @@ MonoBehaviour:
m_Calls: []
m_FontData:
m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
m_FontSize: 85
m_FontSize: 70
m_FontStyle: 0
m_BestFit: 0
m_MinSize: 0

View File

@ -2056,7 +2056,7 @@ public class Scenariopage : MonoBehaviour
Environment.Snow = "" + snowamt + "";
Environment.WindSpeed = "" + windamt + "";
Environment.WindDir = "" + winddir + "";
Environment.Light = "" + Slider.value.ToString("0") + "";
Environment.Light = "" + Slider.value.ToString("0");
string res = JsonMapper.ToJson(Environment);//利用插件LitJson将类对象转为json
Debug.Log(res);
Dictionary<string, string> formDic = new Dictionary<string, string>();//用字典保存到对应的想定id里面