From 0134412e89a410314c526d5e934e73f837addc75 Mon Sep 17 00:00:00 2001 From: PierreFonda3D Date: Wed, 14 Jan 2026 11:52:19 +0100 Subject: [PATCH 1/5] added saving of dynamic data --- .../UI/DataManager/DynamicDataSaves.meta | 8 + .../UI/DataManager/DynamicSDataManager.cs | 2 +- Core/Scripts/UI/DataManager/SDataSaveLoad.cs | 138 ++++++++++++++++++ .../UI/DataManager/SDataSaveLoad.cs.meta | 2 + 4 files changed, 149 insertions(+), 1 deletion(-) create mode 100644 Core/Scripts/UI/DataManager/DynamicDataSaves.meta create mode 100644 Core/Scripts/UI/DataManager/SDataSaveLoad.cs create mode 100644 Core/Scripts/UI/DataManager/SDataSaveLoad.cs.meta diff --git a/Core/Scripts/UI/DataManager/DynamicDataSaves.meta b/Core/Scripts/UI/DataManager/DynamicDataSaves.meta new file mode 100644 index 00000000..5e8fa57f --- /dev/null +++ b/Core/Scripts/UI/DataManager/DynamicDataSaves.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: e850dc10a2024cf46a0b5e01a8a1e31d +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Core/Scripts/UI/DataManager/DynamicSDataManager.cs b/Core/Scripts/UI/DataManager/DynamicSDataManager.cs index 20dbf81c..e6a091d7 100644 --- a/Core/Scripts/UI/DataManager/DynamicSDataManager.cs +++ b/Core/Scripts/UI/DataManager/DynamicSDataManager.cs @@ -48,7 +48,7 @@ public SofaDataReference(SofaBaseComponent sofaComponent, string dataName, SofaD public class DynamicSDataManager : MonoBehaviour { - [SerializeField] private List DSDataList = new List(); + [SerializeField] public List DSDataList = new List(); public GameObject UIContainer; public GameObject DSDataprefab; public GameObject Vec3_DSDataprefab; diff --git a/Core/Scripts/UI/DataManager/SDataSaveLoad.cs b/Core/Scripts/UI/DataManager/SDataSaveLoad.cs new file mode 100644 index 00000000..ec935ab7 --- /dev/null +++ b/Core/Scripts/UI/DataManager/SDataSaveLoad.cs @@ -0,0 +1,138 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using UnityEngine; +using UnityEngine.UI; +using SofaUnity; +using SofaUnityAPI; +using TMPro; +using System.IO; +using UnityEngine.InputSystem; +using UnityEngine.SceneManagement; + +namespace SofaUnityXR +{ + [System.Serializable] + public class DynamicDataSave + { + + public string dataName; + public string optionalCustomName; + public string value; + + + } + + [System.Serializable] + public class DynamicDataSaveList + { + public List dataSaveList = new List(); + } + + public class SDataSaveLoad : MonoBehaviour + { + [Header("Files will be saved in : ")] + public static string m_SavePath; + private static string m_SceneName; + private DynamicSDataManager m_SDManger; + private DynamicDataSaveList m_DataSaveList; + + void Start() + { + m_SavePath = Application.dataPath + "/SofaUnity/Core/Scripts/UI/DataManager/DynamicDataSaves/"; + m_SceneName = SceneManager.GetActiveScene().name+".JSON"; + m_DataSaveList = new DynamicDataSaveList(); + m_SDManger = this.GetComponent(); + if (m_SDManger == null) + { + Debug.LogError("SDataSaveLoad:Can't find any Data manager"); + return; + } + + SaveDynamicData(); + + + } + + public void SaveDynamicData() + { + int i = 0; + foreach(SofaDataReference sdr in m_SDManger.DSDataList) + { + string valueCall = GetValueFromType(sdr); + if (valueCall != null) + { + DynamicDataSave my_dynamicDataSave = new DynamicDataSave + { + dataName = sdr.dataName, + optionalCustomName = sdr.optionalCustomName, + value = valueCall + }; + m_DataSaveList.dataSaveList.Add(my_dynamicDataSave); + } + else + { + Debug.LogError("SDataSaveLoad: Probleme finding the right type of the data to save"); + i++; + return; + } + //Debug.Log(sdr.dataName + " has been Saved"); + } + string json = JsonUtility.ToJson(m_DataSaveList, true); + File.WriteAllText(m_SavePath+m_SceneName, json); + } + + public string GetValueFromType(SofaDataReference sdr) + { + if (sdr == null || sdr.sofaComponent == null) + return null; + + SofaBaseComponent sBaseComp = sdr.sofaComponent; + string dataName = sdr.dataName; + + switch (sdr.dataType) + { + case SofaDataType.Vectord: + + var valFloatList = new float[1]; + int resVec = sBaseComp.m_impl.GetVectordValue(dataName, 1, valFloatList); + if (resVec == 0) + return valFloatList[0].ToString(); + break; + + case SofaDataType.Int: + + var valInt = sBaseComp.m_impl.GetIntValue(dataName); + if (valInt != int.MinValue) + return valInt.ToString(); + break; + + case SofaDataType.Float: + + var valFloat = sBaseComp.m_impl.GetFloatValue(dataName); + if (valFloat!=float.MinValue) + return valFloat.ToString(); + break; + + case SofaDataType.Double: + + var valDouble = sBaseComp.m_impl.GetDoubleValue(dataName); + if (valDouble != float.MinValue) + return valDouble.ToString(); + break; + + case SofaDataType.Bool: + + var valBool = sBaseComp.m_impl.GetBoolValue(dataName); + //no real way to test + return valBool.ToString(); + } + + + return null; + } + + }//end class + +}//end namespace + diff --git a/Core/Scripts/UI/DataManager/SDataSaveLoad.cs.meta b/Core/Scripts/UI/DataManager/SDataSaveLoad.cs.meta new file mode 100644 index 00000000..8a41479a --- /dev/null +++ b/Core/Scripts/UI/DataManager/SDataSaveLoad.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: c8052c9cf6473d54b97d6bfd706021be \ No newline at end of file From 01cf93096c8310ccceb6dfc0d7563a00226712ad Mon Sep 17 00:00:00 2001 From: PierreFonda3D Date: Wed, 14 Jan 2026 12:05:51 +0100 Subject: [PATCH 2/5] correction --- Core/Scripts/UI/DataManager/SDataSaveLoad.cs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Core/Scripts/UI/DataManager/SDataSaveLoad.cs b/Core/Scripts/UI/DataManager/SDataSaveLoad.cs index ec935ab7..5fc6c66f 100644 --- a/Core/Scripts/UI/DataManager/SDataSaveLoad.cs +++ b/Core/Scripts/UI/DataManager/SDataSaveLoad.cs @@ -34,6 +34,8 @@ public class SDataSaveLoad : MonoBehaviour [Header("Files will be saved in : ")] public static string m_SavePath; private static string m_SceneName; + public Button saveButton; + public Button loadButton; private DynamicSDataManager m_SDManger; private DynamicDataSaveList m_DataSaveList; @@ -48,14 +50,15 @@ void Start() Debug.LogError("SDataSaveLoad:Can't find any Data manager"); return; } - - SaveDynamicData(); + + saveButton.onClick.AddListener(SaveDynamicData); } public void SaveDynamicData() { + m_DataSaveList.dataSaveList.Clear(); int i = 0; foreach(SofaDataReference sdr in m_SDManger.DSDataList) { From c91a62689942f176548f2af86a10c4a95dc60a57 Mon Sep 17 00:00:00 2001 From: PierreFonda3D Date: Wed, 14 Jan 2026 14:45:26 +0100 Subject: [PATCH 3/5] added loading files --- Core/Scripts/UI/DataManager/SDataSaveLoad.cs | 134 ++++++++++++++++++- 1 file changed, 130 insertions(+), 4 deletions(-) diff --git a/Core/Scripts/UI/DataManager/SDataSaveLoad.cs b/Core/Scripts/UI/DataManager/SDataSaveLoad.cs index 5fc6c66f..c158e183 100644 --- a/Core/Scripts/UI/DataManager/SDataSaveLoad.cs +++ b/Core/Scripts/UI/DataManager/SDataSaveLoad.cs @@ -36,7 +36,7 @@ public class SDataSaveLoad : MonoBehaviour private static string m_SceneName; public Button saveButton; public Button loadButton; - private DynamicSDataManager m_SDManger; + private DynamicSDataManager m_SDManager; private DynamicDataSaveList m_DataSaveList; void Start() @@ -44,14 +44,15 @@ void Start() m_SavePath = Application.dataPath + "/SofaUnity/Core/Scripts/UI/DataManager/DynamicDataSaves/"; m_SceneName = SceneManager.GetActiveScene().name+".JSON"; m_DataSaveList = new DynamicDataSaveList(); - m_SDManger = this.GetComponent(); - if (m_SDManger == null) + m_SDManager = this.GetComponent(); + if (m_SDManager == null) { Debug.LogError("SDataSaveLoad:Can't find any Data manager"); return; } saveButton.onClick.AddListener(SaveDynamicData); + loadButton.onClick.AddListener(LoadDynamicData); } @@ -60,7 +61,7 @@ public void SaveDynamicData() { m_DataSaveList.dataSaveList.Clear(); int i = 0; - foreach(SofaDataReference sdr in m_SDManger.DSDataList) + foreach(SofaDataReference sdr in m_SDManager.DSDataList) { string valueCall = GetValueFromType(sdr); if (valueCall != null) @@ -85,6 +86,131 @@ public void SaveDynamicData() File.WriteAllText(m_SavePath+m_SceneName, json); } + public void LoadDynamicData() + { + if (!File.Exists(m_SavePath + m_SceneName)) + { + Debug.LogError("JSON file not found: " + m_SavePath + m_SceneName); + return; + } + + //m_DataSaveList.dataSaveList.Clear(); + DynamicDataSaveList dataList; + string json = File.ReadAllText(m_SavePath + m_SceneName); + if (!string.IsNullOrEmpty(json)) + { + dataList = JsonUtility.FromJson(json); + if (dataList.dataSaveList.Count != m_SDManager.DSDataList.Count) + { + Debug.LogError("LoadDynamicData : The Datas that your are trying to load doesn't match this scene datas"); + return; + } + //We make the guess that you didn't change the data order in the editor between the save and the load + //Heavy to check for a very special case so be carefull + + int i = 0; + foreach (DynamicDataSave dds in dataList.dataSaveList) + { + UpdateValueFromType(m_SDManager.DSDataList[i], dds.value); + Debug.Log("tryed to update " + m_SDManager.DSDataList[i].dataName); + i++; + } + } + else + { + Debug.LogError("LoadDynamicData : Data file empty or not found"); + } + + + + } + + + + public void UpdateValueFromType(SofaDataReference sdr, string newValue) + { + if (sdr == null || string.IsNullOrEmpty(newValue)) + return; + + SofaBaseComponent sBaseComp = sdr.sofaComponent; + string dataName = sdr.dataName; + + if (sBaseComp == null) + return; + + switch (sdr.dataType) + { + case SofaDataType.Vectord: + { + if (!float.TryParse(newValue, out float parsedFloat)) + { + Debug.LogWarning("Failed to parse Vectord value: " + newValue); + return; + } + + float[] valFloatList = new float[1]; + valFloatList[0] = parsedFloat; + + int res = sBaseComp.m_impl.SetVectordValue(dataName, 1, valFloatList); + if (res != 0) + Debug.LogError("Failed to set VectordSizeOne"); + break; + } + + case SofaDataType.Int: + { + if (!int.TryParse(newValue, out int parsedInt)) + { + Debug.LogWarning("Failed to parse Int value: " + newValue); + return; + } + + sBaseComp.m_impl.SetIntValue(dataName, parsedInt); + break; + } + + case SofaDataType.Float: + { + if (!float.TryParse(newValue, out float parsedFloat)) + { + Debug.LogWarning("Failed to parse Float value: " + newValue); + return; + } + + sBaseComp.m_impl.SetFloatValue(dataName, parsedFloat); + break; + } + + case SofaDataType.Double: + { + if (!float.TryParse(newValue, out float parsedDouble)) + { + Debug.LogWarning("Failed to parse Double value: " + newValue); + return; + } + + sBaseComp.m_impl.SetDoubleValue(dataName, parsedDouble); + break; + } + + case SofaDataType.Bool: + { + if (!bool.TryParse(newValue, out bool parsedBool)) + { + Debug.LogWarning("Failed to parse Bool value: " + newValue); + return; + } + + sBaseComp.m_impl.SetBoolValue(dataName, parsedBool); + break; + } + } + } + + + + + public string GetValueFromType(SofaDataReference sdr) { if (sdr == null || sdr.sofaComponent == null) From dcd6f6c005445ba1cc2e05f2e8e63f92d73ff99e Mon Sep 17 00:00:00 2001 From: PierreFonda3D Date: Wed, 14 Jan 2026 16:47:45 +0100 Subject: [PATCH 4/5] added loading data and improve prefab --- .../UI/DataManager/DynamicSDataManager.cs | 2 +- Core/Scripts/UI/DataManager/DynamicSdata.cs | 15 + .../UI/DataManager/DynamicSofaData.prefab | 12 +- .../DataManager/DynamicSofaDataManager.prefab | 1563 +++++++++++------ .../DynamicSofaDataManager.prefab.meta | 2 +- Core/Scripts/UI/DataManager/SDataSaveLoad.cs | 47 +- 6 files changed, 1135 insertions(+), 506 deletions(-) diff --git a/Core/Scripts/UI/DataManager/DynamicSDataManager.cs b/Core/Scripts/UI/DataManager/DynamicSDataManager.cs index e6a091d7..8f6c53a1 100644 --- a/Core/Scripts/UI/DataManager/DynamicSDataManager.cs +++ b/Core/Scripts/UI/DataManager/DynamicSDataManager.cs @@ -167,7 +167,7 @@ public void CreateUIElement (SofaDataReference data) /// void FindSofaComponentInScene(SofaDataReference data) { - SofaBaseComponent[] allBaseComponents = FindObjectsOfType(); + SofaBaseComponent[] allBaseComponents = FindObjectsByType(FindObjectsSortMode.None); bool found = false; diff --git a/Core/Scripts/UI/DataManager/DynamicSdata.cs b/Core/Scripts/UI/DataManager/DynamicSdata.cs index 1157b995..9beaaf24 100644 --- a/Core/Scripts/UI/DataManager/DynamicSdata.cs +++ b/Core/Scripts/UI/DataManager/DynamicSdata.cs @@ -285,6 +285,21 @@ public void SetDataName( string DataName) dataName = DataName; } + public string GetDataName() + { + return dataName; + } + + public string GetUIName() + { + return UIName; + } + + public Slider GetSlider() + { + return (mainPropretySlider); + } + public void SetUIName(string thisUIName) { UIName = thisUIName; diff --git a/Core/Scripts/UI/DataManager/DynamicSofaData.prefab b/Core/Scripts/UI/DataManager/DynamicSofaData.prefab index f6c8c5ab..18050167 100644 --- a/Core/Scripts/UI/DataManager/DynamicSofaData.prefab +++ b/Core/Scripts/UI/DataManager/DynamicSofaData.prefab @@ -145,7 +145,7 @@ 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: -46, y: 0} + m_AnchoredPosition: {x: -46, y: -1.6} m_SizeDelta: {x: 200, y: 50} m_Pivot: {x: 0.5, y: 0.5} --- !u!222 &4133571076758841288 @@ -176,7 +176,7 @@ MonoBehaviour: m_OnCullStateChanged: m_PersistentCalls: m_Calls: [] - m_text: 'Data Name :' + m_text: Default Data Name m_isRightToLeft: 0 m_fontAsset: {fileID: 11400000, guid: 522c1115e7013564d92c8fe0fd6d554b, type: 2} m_sharedMaterial: {fileID: 2833549502675358344, guid: 522c1115e7013564d92c8fe0fd6d554b, type: 2} @@ -203,8 +203,8 @@ MonoBehaviour: m_faceColor: serializedVersion: 2 rgba: 4294967295 - m_fontSize: 22 - m_fontSizeBase: 22 + m_fontSize: 18 + m_fontSizeBase: 18 m_fontWeight: 400 m_enableAutoSizing: 0 m_fontSizeMin: 18 @@ -241,7 +241,7 @@ MonoBehaviour: m_VertexBufferAutoSizeReduction: 0 m_useMaxVisibleDescender: 1 m_pageToDisplay: 1 - m_margin: {x: 0, y: 0, z: 0, w: 22.125357} + m_margin: {x: 0, y: 0, z: -97.41943, w: 22.125357} m_isUsingLegacyAnimationComponent: 0 m_isVolumetricText: 0 m_hasFontAssetChanged: 0 @@ -603,6 +603,8 @@ MonoBehaviour: mainPropretySlider: {fileID: 4087773701116171958} PropretyName: {fileID: 3080495347422872568} PropretyValue: {fileID: 5782485129368148144} + MIN: 0 + MAX: 0 --- !u!1 &6919628777754564137 GameObject: m_ObjectHideFlags: 0 diff --git a/Core/Scripts/UI/DataManager/DynamicSofaDataManager.prefab b/Core/Scripts/UI/DataManager/DynamicSofaDataManager.prefab index 61014a5e..3ec55ca0 100644 --- a/Core/Scripts/UI/DataManager/DynamicSofaDataManager.prefab +++ b/Core/Scripts/UI/DataManager/DynamicSofaDataManager.prefab @@ -1,6 +1,6 @@ %YAML 1.1 %TAG !u! tag:unity3d.com,2011: ---- !u!1 &93463252240673981 +--- !u!1 &246674608173823089 GameObject: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} @@ -8,150 +8,157 @@ GameObject: m_PrefabAsset: {fileID: 0} serializedVersion: 6 m_Component: - - component: {fileID: 2038491269215742310} - - component: {fileID: 3033573462541538631} - - component: {fileID: 1709134898114709354} - - component: {fileID: 789825926793348938} - - component: {fileID: 4579996392948795512} - - component: {fileID: 260868606322957342} + - component: {fileID: 1875494739365411628} + - component: {fileID: 3790079291875088215} m_Layer: 5 - m_Name: DynamicSofaDataManager + m_Name: SofaView_panel m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!224 &2038491269215742310 +--- !u!224 &1875494739365411628 RectTransform: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 93463252240673981} - m_LocalRotation: {x: 0, y: 0.23721115, z: 0, w: 0.97145814} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 0.25, y: 0.25, z: 0.25} + m_GameObject: {fileID: 246674608173823089} + m_LocalRotation: {x: 0.3571952, y: -0.27881882, z: 0.11262328, w: 0.8843007} + m_LocalPosition: {x: 0, y: 0, z: -138} + m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 0 m_Children: - - {fileID: 5106657652260943359} - m_Father: {fileID: 0} - m_LocalEulerAnglesHint: {x: 0, y: 27.444, z: 0} - m_AnchorMin: {x: 0, y: 0} - m_AnchorMax: {x: 0, y: 0} - m_AnchoredPosition: {x: 0, y: -46.7} - m_SizeDelta: {x: 0, y: 0} + - {fileID: 7265314025248004798} + - {fileID: 8982198197105583876} + - {fileID: 9203306652011177137} + - {fileID: 1222200442360830156} + - {fileID: 4349531820177581671} + - {fileID: 5330429858819660496} + m_Father: {fileID: 6122615229366821021} + m_LocalEulerAnglesHint: {x: 43.99, y: -35, z: 0} + m_AnchorMin: {x: 0, y: 1} + m_AnchorMax: {x: 0, y: 1} + m_AnchoredPosition: {x: -52, y: -150} + m_SizeDelta: {x: 400, y: 300} m_Pivot: {x: 0.5, y: 0.5} ---- !u!223 &3033573462541538631 -Canvas: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 93463252240673981} - m_Enabled: 1 - serializedVersion: 3 - m_RenderMode: 2 - m_Camera: {fileID: 0} - m_PlaneDistance: 100 - m_PixelPerfect: 0 - m_ReceivesEvents: 1 - m_OverrideSorting: 0 - m_OverridePixelPerfect: 0 - m_SortingBucketNormalizedSize: 0 - m_VertexColorAlwaysGammaSpace: 0 - m_AdditionalShaderChannelsFlag: 25 - m_UpdateRectTransformForStandalone: 0 - m_SortingLayerID: 0 - m_SortingOrder: 0 - m_TargetDisplay: 0 ---- !u!114 &1709134898114709354 +--- !u!114 &3790079291875088215 MonoBehaviour: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 93463252240673981} + m_GameObject: {fileID: 246674608173823089} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 0cd44c1031e13a943bb63640046fad76, type: 3} + m_Script: {fileID: 11500000, guid: 306cc8c2b49d7114eaa3623786fc2126, type: 3} m_Name: m_EditorClassIdentifier: - m_UiScaleMode: 0 - m_ReferencePixelsPerUnit: 100 - m_ScaleFactor: 1 - m_ReferenceResolution: {x: 800, y: 600} - m_ScreenMatchMode: 0 - m_MatchWidthOrHeight: 0 - m_PhysicalUnit: 3 - m_FallbackScreenDPI: 96 - m_DefaultSpriteDPI: 96 - m_DynamicPixelsPerUnit: 1 - m_PresetInfoIsWorld: 1 ---- !u!114 &789825926793348938 -MonoBehaviour: + m_IgnoreLayout: 0 + m_MinWidth: -1 + m_MinHeight: -1 + m_PreferredWidth: -1 + m_PreferredHeight: -1 + m_FlexibleWidth: 1 + m_FlexibleHeight: -1 + m_LayoutPriority: 1 +--- !u!1 &613492190911254582 +GameObject: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 93463252240673981} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: dc42784cf147c0c48a680349fa168899, type: 3} - m_Name: - m_EditorClassIdentifier: - m_IgnoreReversedGraphics: 1 - m_BlockingObjects: 0 - m_BlockingMask: - serializedVersion: 2 - m_Bits: 4294967295 ---- !u!114 &4579996392948795512 + serializedVersion: 6 + m_Component: + - component: {fileID: 2985878854310282401} + - component: {fileID: 1255254511289024808} + - component: {fileID: 461746323110304117} + - component: {fileID: 5803183455624796195} + m_Layer: 5 + m_Name: bg + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &2985878854310282401 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 613492190911254582} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1.5, y: 0.6, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 8982198197105583876} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 1, y: 0} + m_AnchoredPosition: {x: 0, y: 32} + m_SizeDelta: {x: 0, y: 64} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &1255254511289024808 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 613492190911254582} + m_CullTransparentMesh: 0 +--- !u!114 &461746323110304117 MonoBehaviour: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 93463252240673981} + m_GameObject: {fileID: 613492190911254582} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 7951c64acb0fa62458bf30a60089fe2d, type: 3} + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} m_Name: m_EditorClassIdentifier: - m_IgnoreReversedGraphics: 0 - m_CheckFor2DOcclusion: 0 - m_CheckFor3DOcclusion: 0 - m_BlockingMask: - serializedVersion: 2 - m_Bits: 4294967295 - m_RaycastTriggerInteraction: 0 ---- !u!114 &260868606322957342 + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} + m_Maskable: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Sprite: {fileID: 21300000, guid: 091a94401704ae2468386e448cfb11bf, type: 3} + m_Type: 0 + m_PreserveAspect: 1 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 +--- !u!114 &5803183455624796195 MonoBehaviour: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 93463252240673981} + m_GameObject: {fileID: 613492190911254582} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 8d6cfd61d4b698744a33781dae9f2859, type: 3} + m_Script: {fileID: 11500000, guid: 306cc8c2b49d7114eaa3623786fc2126, type: 3} m_Name: m_EditorClassIdentifier: - DSDataList: - - sofaComponent: {fileID: 0} - dataName: pace - dataType: 2 - - sofaComponent: {fileID: 0} - dataName: youngModulus - dataType: 4 - - sofaComponent: {fileID: 0} - dataName: printLog - dataType: 3 - - sofaComponent: {fileID: 0} - dataName: translation - dataType: 5 - UIContainer: {fileID: 1062603165304975514} - DSDataprefab: {fileID: 6311929476908794084, guid: 8084c64c7c67f3941bc1d4ef05b1ea66, type: 3} - Vec3_DSDataprefab: {fileID: 6311929476908794084, guid: c4a897059090a4249880d1af22342f38, type: 3} ---- !u!1 &454133391344713628 + m_IgnoreLayout: 1 + m_MinWidth: -1 + m_MinHeight: -1 + m_PreferredWidth: -1 + m_PreferredHeight: -1 + m_FlexibleWidth: -1 + m_FlexibleHeight: -1 + m_LayoutPriority: 1 +--- !u!1 &697020060652219832 GameObject: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} @@ -159,67 +166,66 @@ GameObject: m_PrefabAsset: {fileID: 0} serializedVersion: 6 m_Component: - - component: {fileID: 6807662948277521941} - - component: {fileID: 7761060081961845683} - - component: {fileID: 4777587297531757359} - - component: {fileID: 6137667228676120478} + - component: {fileID: 7263571017349922648} + - component: {fileID: 6499236680149895488} + - component: {fileID: 8133054870892857132} + - component: {fileID: 2547462615389021922} m_Layer: 5 - m_Name: Scroll View + m_Name: Viewport m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!224 &6807662948277521941 +--- !u!224 &7263571017349922648 RectTransform: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 454133391344713628} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} + m_GameObject: {fileID: 697020060652219832} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: -0} + m_LocalScale: {x: 1, y: 1.02, z: 1} m_ConstrainProportionsScale: 0 m_Children: - - {fileID: 637337520858947251} - - {fileID: 1616395046698349844} - m_Father: {fileID: 5106657652260943359} + - {fileID: 5439115766898413507} + m_Father: {fileID: 1222200442360830156} 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: 6.093, y: -39.7} - m_SizeDelta: {x: 352.183, y: 200} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &7761060081961845683 + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 0, y: 0} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 0, y: 0} + m_Pivot: {x: 0, y: 1} +--- !u!222 &6499236680149895488 CanvasRenderer: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 454133391344713628} + m_GameObject: {fileID: 697020060652219832} m_CullTransparentMesh: 1 ---- !u!114 &4777587297531757359 +--- !u!114 &8133054870892857132 MonoBehaviour: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 454133391344713628} + m_GameObject: {fileID: 697020060652219832} m_Enabled: 1 m_EditorHideFlags: 0 m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} m_Name: m_EditorClassIdentifier: m_Material: {fileID: 0} - m_Color: {r: 0.74641025, g: 0.86817616, b: 0.9308176, a: 0.392} - m_RaycastTarget: 1 + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 0 m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} m_Maskable: 1 m_OnCullStateChanged: m_PersistentCalls: m_Calls: [] - m_Sprite: {fileID: 10907, guid: 0000000000000000f000000000000000, type: 0} + m_Sprite: {fileID: 10917, guid: 0000000000000000f000000000000000, type: 0} m_Type: 1 m_PreserveAspect: 0 m_FillCenter: 1 @@ -229,37 +235,20 @@ MonoBehaviour: m_FillOrigin: 0 m_UseSpriteMesh: 0 m_PixelsPerUnitMultiplier: 1 ---- !u!114 &6137667228676120478 +--- !u!114 &2547462615389021922 MonoBehaviour: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 454133391344713628} + m_GameObject: {fileID: 697020060652219832} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 1aa08ab6e0800fa44ae55d278d1423e3, type: 3} + m_Script: {fileID: 11500000, guid: 31a19414c41e5ae4aae2af33fee712f6, type: 3} m_Name: m_EditorClassIdentifier: - m_Content: {fileID: 8499419571710533894} - m_Horizontal: 0 - m_Vertical: 1 - m_MovementType: 1 - m_Elasticity: 0.1 - m_Inertia: 1 - m_DecelerationRate: 0.135 - m_ScrollSensitivity: 1 - m_Viewport: {fileID: 637337520858947251} - m_HorizontalScrollbar: {fileID: 0} - m_VerticalScrollbar: {fileID: 8682755707885648652} - m_HorizontalScrollbarVisibility: 2 - m_VerticalScrollbarVisibility: 2 - m_HorizontalScrollbarSpacing: -3 - m_VerticalScrollbarSpacing: -3 - m_OnValueChanged: - m_PersistentCalls: - m_Calls: [] ---- !u!1 &1062603165304975514 + m_ShowMaskGraphic: 0 +--- !u!1 &2315649532834657459 GameObject: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} @@ -267,61 +256,74 @@ GameObject: m_PrefabAsset: {fileID: 0} serializedVersion: 6 m_Component: - - component: {fileID: 8499419571710533894} - - component: {fileID: 6174213033689806918} + - component: {fileID: 9078676211360305053} + - component: {fileID: 7370156688406770467} + - component: {fileID: 388510799598957781} m_Layer: 5 - m_Name: Content + m_Name: Handle m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!224 &8499419571710533894 +--- !u!224 &9078676211360305053 RectTransform: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1062603165304975514} + m_GameObject: {fileID: 2315649532834657459} m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} m_LocalPosition: {x: 0, y: 0, z: 0} m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 0 m_Children: [] - m_Father: {fileID: 637337520858947251} + m_Father: {fileID: 6400232748880702495} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 1} - m_AnchorMax: {x: 1, y: 1} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 0, y: 0} m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 0, y: 300} - m_Pivot: {x: 0, y: 1} ---- !u!114 &6174213033689806918 + m_SizeDelta: {x: 20, y: 20} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &7370156688406770467 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2315649532834657459} + m_CullTransparentMesh: 1 +--- !u!114 &388510799598957781 MonoBehaviour: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1062603165304975514} + m_GameObject: {fileID: 2315649532834657459} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 59f8146938fff824cb5fd77236b75775, type: 3} + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} m_Name: m_EditorClassIdentifier: - m_Padding: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_ChildAlignment: 0 - m_Spacing: 7.13 - m_ChildForceExpandWidth: 0 - m_ChildForceExpandHeight: 0 - m_ChildControlWidth: 0 - m_ChildControlHeight: 0 - m_ChildScaleWidth: 1 - m_ChildScaleHeight: 1 - m_ReverseArrangement: 0 ---- !u!1 &2017853063136003712 + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} + m_Maskable: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0} + m_Type: 1 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 +--- !u!1 &2604967520934744027 GameObject: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} @@ -329,78 +331,95 @@ GameObject: m_PrefabAsset: {fileID: 0} serializedVersion: 6 m_Component: - - component: {fileID: 6793693417964977832} - - component: {fileID: 5798772472071962526} - - component: {fileID: 981433443963825377} + - component: {fileID: 7265314025248004798} + - component: {fileID: 5261456092850470044} + - component: {fileID: 6892103377844051233} + - component: {fileID: 9067833294739699500} m_Layer: 5 - m_Name: text + m_Name: bg m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!224 &6793693417964977832 +--- !u!224 &7265314025248004798 RectTransform: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 2017853063136003712} + m_GameObject: {fileID: 2604967520934744027} m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} + m_LocalPosition: {x: 0, y: 0, z: -0} + m_LocalScale: {x: 1, y: 1.9018, z: 1} m_ConstrainProportionsScale: 0 m_Children: [] - m_Father: {fileID: 6233983222527737757} + m_Father: {fileID: 1875494739365411628} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0, y: 0} - m_AnchorMax: {x: 0, y: 0} - m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 364.3, y: 64} + m_AnchorMax: {x: 1, y: 1} + m_AnchoredPosition: {x: -0, y: -34.79} + m_SizeDelta: {x: 0, y: -99.72} m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &5798772472071962526 +--- !u!222 &5261456092850470044 CanvasRenderer: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 2017853063136003712} + m_GameObject: {fileID: 2604967520934744027} m_CullTransparentMesh: 0 ---- !u!114 &981433443963825377 +--- !u!114 &6892103377844051233 MonoBehaviour: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 2017853063136003712} + m_GameObject: {fileID: 2604967520934744027} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} m_Name: m_EditorClassIdentifier: m_Material: {fileID: 0} - m_Color: {r: 0, g: 0, b: 0, a: 1} + m_Color: {r: 1, g: 1, b: 1, a: 1} m_RaycastTarget: 1 m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} m_Maskable: 1 m_OnCullStateChanged: m_PersistentCalls: m_Calls: [] - m_FontData: - m_Font: {fileID: 12800000, guid: 6f1c1874f66b8d742bb1f6795654f335, type: 3} - m_FontSize: 18 - m_FontStyle: 0 - m_BestFit: 0 - m_MinSize: 1 - m_MaxSize: 40 - m_Alignment: 4 - m_AlignByGeometry: 0 - m_RichText: 1 - m_HorizontalOverflow: 0 - m_VerticalOverflow: 0 - m_LineSpacing: 1 - m_Text: SofaData ---- !u!1 &2357556036854249714 + m_Sprite: {fileID: 21300000, guid: 24c0b2eedb63a4c4692dc67a2d2bd87a, type: 3} + m_Type: 0 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 +--- !u!114 &9067833294739699500 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2604967520934744027} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 306cc8c2b49d7114eaa3623786fc2126, type: 3} + m_Name: + m_EditorClassIdentifier: + m_IgnoreLayout: 1 + m_MinWidth: -1 + m_MinHeight: -1 + m_PreferredWidth: -1 + m_PreferredHeight: -1 + m_FlexibleWidth: -1 + m_FlexibleHeight: -1 + m_LayoutPriority: 1 +--- !u!1 &2644688417151520446 GameObject: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} @@ -408,59 +427,209 @@ GameObject: m_PrefabAsset: {fileID: 0} serializedVersion: 6 m_Component: - - component: {fileID: 5106657652260943359} - - component: {fileID: 388492810855435665} + - component: {fileID: 6122615229366821021} + - component: {fileID: 637074477475636614} + - component: {fileID: 5641867049564158956} + - component: {fileID: 4403241081342016863} + - component: {fileID: 3465382640637624595} + - component: {fileID: 6691331107293141553} + - component: {fileID: 1168741500115117438} m_Layer: 5 - m_Name: SofaView_panel + m_Name: DynamicSofaDataManager m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!224 &5106657652260943359 +--- !u!224 &6122615229366821021 RectTransform: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 2357556036854249714} - m_LocalRotation: {x: 0, y: -0.30070576, z: 0, w: 0.953717} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} + m_GameObject: {fileID: 2644688417151520446} + m_LocalRotation: {x: 0, y: -0.6814237, z: 0, w: 0.7318891} + m_LocalPosition: {x: 0, y: 0, z: -17.03} + m_LocalScale: {x: 0.044901643, y: 0.044901643, z: 0.044901643} m_ConstrainProportionsScale: 0 m_Children: - - {fileID: 1011162121538531742} - - {fileID: 6233983222527737757} - - {fileID: 5235626219158377054} - - {fileID: 6807662948277521941} - m_Father: {fileID: 2038491269215742310} - m_LocalEulerAnglesHint: {x: 0, y: -35, z: 0} - m_AnchorMin: {x: 0, y: 1} - m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: 0, y: -63.6} - m_SizeDelta: {x: 400, y: 300} + - {fileID: 1875494739365411628} + m_Father: {fileID: 0} + m_LocalEulerAnglesHint: {x: 0, y: -85.91, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 0, y: 0} + m_AnchoredPosition: {x: 7.67, y: 8.7} + m_SizeDelta: {x: 0, y: 0} m_Pivot: {x: 0.5, y: 0.5} ---- !u!114 &388492810855435665 +--- !u!223 &637074477475636614 +Canvas: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2644688417151520446} + m_Enabled: 1 + serializedVersion: 3 + m_RenderMode: 2 + m_Camera: {fileID: 0} + m_PlaneDistance: 100 + m_PixelPerfect: 0 + m_ReceivesEvents: 1 + m_OverrideSorting: 0 + m_OverridePixelPerfect: 0 + m_SortingBucketNormalizedSize: 0 + m_VertexColorAlwaysGammaSpace: 0 + m_AdditionalShaderChannelsFlag: 25 + m_UpdateRectTransformForStandalone: 0 + m_SortingLayerID: 0 + m_SortingOrder: 0 + m_TargetDisplay: 0 +--- !u!114 &5641867049564158956 MonoBehaviour: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 2357556036854249714} + m_GameObject: {fileID: 2644688417151520446} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 306cc8c2b49d7114eaa3623786fc2126, type: 3} + m_Script: {fileID: 11500000, guid: 0cd44c1031e13a943bb63640046fad76, type: 3} m_Name: m_EditorClassIdentifier: - m_IgnoreLayout: 0 - m_MinWidth: -1 - m_MinHeight: -1 - m_PreferredWidth: -1 - m_PreferredHeight: -1 - m_FlexibleWidth: 1 - m_FlexibleHeight: -1 - m_LayoutPriority: 1 ---- !u!1 &2499500742423270092 + m_UiScaleMode: 0 + m_ReferencePixelsPerUnit: 100 + m_ScaleFactor: 1 + m_ReferenceResolution: {x: 800, y: 600} + m_ScreenMatchMode: 0 + m_MatchWidthOrHeight: 0 + m_PhysicalUnit: 3 + m_FallbackScreenDPI: 96 + m_DefaultSpriteDPI: 96 + m_DynamicPixelsPerUnit: 1 + m_PresetInfoIsWorld: 1 +--- !u!114 &4403241081342016863 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2644688417151520446} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: dc42784cf147c0c48a680349fa168899, type: 3} + m_Name: + m_EditorClassIdentifier: + m_IgnoreReversedGraphics: 1 + m_BlockingObjects: 0 + m_BlockingMask: + serializedVersion: 2 + m_Bits: 4294967295 +--- !u!114 &3465382640637624595 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2644688417151520446} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 7951c64acb0fa62458bf30a60089fe2d, type: 3} + m_Name: + m_EditorClassIdentifier: + m_IgnoreReversedGraphics: 0 + m_CheckFor2DOcclusion: 0 + m_CheckFor3DOcclusion: 0 + m_BlockingMask: + serializedVersion: 2 + m_Bits: 4294967295 + m_RaycastTriggerInteraction: 0 +--- !u!114 &6691331107293141553 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2644688417151520446} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 8d6cfd61d4b698744a33781dae9f2859, type: 3} + m_Name: + m_EditorClassIdentifier: + DSDataList: + - sofaComponent: {fileID: 0} + UniqueId: Esophagus_CenterLine@ProximityOscillatorConstraint@center + dataName: amplitude + dataType: 2 + optionalCustomName: Amplitude Oscillator + MIN: 0 + MAX: 1 + - sofaComponent: {fileID: 0} + UniqueId: Esophagus_CenterLine@ProximityOscillatorConstraint@center + dataName: pace + dataType: 2 + optionalCustomName: + MIN: 0 + MAX: 1 + - sofaComponent: {fileID: 0} + UniqueId: Esophagus@HexahedronFEMForceField@FEM + dataName: youngModulus + dataType: 4 + optionalCustomName: + MIN: 50 + MAX: 500 + - sofaComponent: {fileID: 0} + UniqueId: Esophagus@DiagonalMass@DiagonalMass1 + dataName: totalMass + dataType: 2 + optionalCustomName: + MIN: 0 + MAX: 5 + - sofaComponent: {fileID: 0} + UniqueId: EndoscopeTopology@RodStraightSection@StraightSection + dataName: youngModulus + dataType: 2 + optionalCustomName: + MIN: 5000 + MAX: 15000 + - sofaComponent: {fileID: 0} + UniqueId: EndoscopeTopology@RodStraightSection@StraightSection + dataName: massDensity + dataType: 2 + optionalCustomName: + MIN: 0.01 + MAX: 0.1 + - sofaComponent: {fileID: 0} + UniqueId: root@MinProximityIntersection@Proximity + dataName: alarmDistance + dataType: 2 + optionalCustomName: + MIN: 0.01 + MAX: 2 + - sofaComponent: {fileID: 0} + UniqueId: root@MinProximityIntersection@Proximity + dataName: contactDistance + dataType: 2 + optionalCustomName: + MIN: 0.01 + MAX: 2 + UIContainer: {fileID: 8022826026762471970} + DSDataprefab: {fileID: 6311929476908794084, guid: 8084c64c7c67f3941bc1d4ef05b1ea66, type: 3} + Vec3_DSDataprefab: {fileID: 6311929476908794084, guid: c4a897059090a4249880d1af22342f38, type: 3} +--- !u!114 &1168741500115117438 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2644688417151520446} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: c8052c9cf6473d54b97d6bfd706021be, type: 3} + m_Name: + m_EditorClassIdentifier: + saveButton: {fileID: 4427835332160004421} + loadButton: {fileID: 7524207653254099267} +--- !u!1 &3450382013720935325 GameObject: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} @@ -468,63 +637,120 @@ GameObject: m_PrefabAsset: {fileID: 0} serializedVersion: 6 m_Component: - - component: {fileID: 6233983222527737757} - - component: {fileID: 1730911750690750063} + - component: {fileID: 4349531820177581671} + - component: {fileID: 8569290302082090547} + - component: {fileID: 7595709464664666263} + - component: {fileID: 4427835332160004421} m_Layer: 5 - m_Name: _header + m_Name: SaveButton m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!224 &6233983222527737757 +--- !u!224 &4349531820177581671 RectTransform: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 2499500742423270092} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_GameObject: {fileID: 3450382013720935325} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalPosition: {x: 0, y: 0, z: 0} m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 0 m_Children: - - {fileID: 6006606313185908572} - - {fileID: 6793693417964977832} - m_Father: {fileID: 5106657652260943359} + - {fileID: 426637760817002809} + m_Father: {fileID: 1875494739365411628} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 1} - m_AnchorMax: {x: 1, y: 1} - m_AnchoredPosition: {x: 0, y: -40} - m_SizeDelta: {x: 0, y: 64} + m_AnchorMin: {x: 0.5, y: 0.5} + m_AnchorMax: {x: 0.5, y: 0.5} + m_AnchoredPosition: {x: -89.5, y: -182} + m_SizeDelta: {x: 160, y: 30} m_Pivot: {x: 0.5, y: 0.5} ---- !u!114 &1730911750690750063 +--- !u!222 &8569290302082090547 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3450382013720935325} + m_CullTransparentMesh: 1 +--- !u!114 &7595709464664666263 MonoBehaviour: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 2499500742423270092} + m_GameObject: {fileID: 3450382013720935325} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 30649d3a9faa99c48a7b1166b86bf2a0, type: 3} + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} m_Name: m_EditorClassIdentifier: - m_Padding: - m_Left: 24 - m_Right: 16 - m_Top: 0 - m_Bottom: 0 - m_ChildAlignment: 4 - m_Spacing: 0 - m_ChildForceExpandWidth: 1 - m_ChildForceExpandHeight: 1 - m_ChildControlWidth: 0 - m_ChildControlHeight: 0 - m_ChildScaleWidth: 0 - m_ChildScaleHeight: 0 - m_ReverseArrangement: 0 ---- !u!1 &3982245287720452401 + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} + m_Maskable: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0} + m_Type: 1 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 +--- !u!114 &4427835332160004421 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3450382013720935325} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Navigation: + m_Mode: 3 + m_WrapAround: 0 + m_SelectOnUp: {fileID: 0} + m_SelectOnDown: {fileID: 0} + m_SelectOnLeft: {fileID: 0} + m_SelectOnRight: {fileID: 0} + m_Transition: 1 + m_Colors: + m_NormalColor: {r: 1, g: 1, b: 1, a: 1} + m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} + m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} + m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} + m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} + m_ColorMultiplier: 1 + m_FadeDuration: 0.1 + m_SpriteState: + m_HighlightedSprite: {fileID: 0} + m_PressedSprite: {fileID: 0} + m_SelectedSprite: {fileID: 0} + m_DisabledSprite: {fileID: 0} + m_AnimationTriggers: + m_NormalTrigger: Normal + m_HighlightedTrigger: Highlighted + m_PressedTrigger: Pressed + m_SelectedTrigger: Selected + m_DisabledTrigger: Disabled + m_Interactable: 1 + m_TargetGraphic: {fileID: 7595709464664666263} + m_OnClick: + m_PersistentCalls: + m_Calls: [] +--- !u!1 &4559374350038234626 GameObject: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} @@ -532,52 +758,52 @@ GameObject: m_PrefabAsset: {fileID: 0} serializedVersion: 6 m_Component: - - component: {fileID: 1616395046698349844} - - component: {fileID: 3961668090043905860} - - component: {fileID: 4262843498740802743} - - component: {fileID: 8682755707885648652} + - component: {fileID: 5330429858819660496} + - component: {fileID: 8460596582808802573} + - component: {fileID: 1199380478528488622} + - component: {fileID: 7524207653254099267} m_Layer: 5 - m_Name: Scrollbar Vertical + m_Name: LoadButton m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!224 &1616395046698349844 +--- !u!224 &5330429858819660496 RectTransform: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 3982245287720452401} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_GameObject: {fileID: 4559374350038234626} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalPosition: {x: 0, y: 0, z: 0} m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 0 m_Children: - - {fileID: 8368713185283337566} - m_Father: {fileID: 6807662948277521941} + - {fileID: 8617859285833570437} + m_Father: {fileID: 1875494739365411628} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 1, y: 0} - m_AnchorMax: {x: 1, y: 1} - m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 29.869, y: 0.000015259} - m_Pivot: {x: 1, y: 1} ---- !u!222 &3961668090043905860 + m_AnchorMin: {x: 0.5, y: 0.5} + m_AnchorMax: {x: 0.5, y: 0.5} + m_AnchoredPosition: {x: 89.3, y: -182} + m_SizeDelta: {x: 160, y: 30} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &8460596582808802573 CanvasRenderer: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 3982245287720452401} + m_GameObject: {fileID: 4559374350038234626} m_CullTransparentMesh: 1 ---- !u!114 &4262843498740802743 +--- !u!114 &1199380478528488622 MonoBehaviour: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 3982245287720452401} + m_GameObject: {fileID: 4559374350038234626} m_Enabled: 1 m_EditorHideFlags: 0 m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} @@ -591,7 +817,7 @@ MonoBehaviour: m_OnCullStateChanged: m_PersistentCalls: m_Calls: [] - m_Sprite: {fileID: 10907, guid: 0000000000000000f000000000000000, type: 0} + m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0} m_Type: 1 m_PreserveAspect: 0 m_FillCenter: 1 @@ -601,16 +827,16 @@ MonoBehaviour: m_FillOrigin: 0 m_UseSpriteMesh: 0 m_PixelsPerUnitMultiplier: 1 ---- !u!114 &8682755707885648652 +--- !u!114 &7524207653254099267 MonoBehaviour: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 3982245287720452401} + m_GameObject: {fileID: 4559374350038234626} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 2a4db7a114972834c8e4117be1d82ba3, type: 3} + m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} m_Name: m_EditorClassIdentifier: m_Navigation: @@ -641,16 +867,11 @@ MonoBehaviour: m_SelectedTrigger: Selected m_DisabledTrigger: Disabled m_Interactable: 1 - m_TargetGraphic: {fileID: 3284491034471198711} - m_HandleRect: {fileID: 2381487980547812817} - m_Direction: 2 - m_Value: 1 - m_Size: 0.6666667 - m_NumberOfSteps: 0 - m_OnValueChanged: + m_TargetGraphic: {fileID: 1199380478528488622} + m_OnClick: m_PersistentCalls: m_Calls: [] ---- !u!1 &5412590475371894251 +--- !u!1 &4833824293992570152 GameObject: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} @@ -658,52 +879,386 @@ GameObject: m_PrefabAsset: {fileID: 0} serializedVersion: 6 m_Component: - - component: {fileID: 637337520858947251} - - component: {fileID: 1512318833903419790} - - component: {fileID: 5465186484591056680} - - component: {fileID: 1725429615756589145} + - component: {fileID: 426637760817002809} + - component: {fileID: 2247568470252700814} + - component: {fileID: 5562511814728790440} m_Layer: 5 - m_Name: Viewport + m_Name: Text (TMP) m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!224 &637337520858947251 +--- !u!224 &426637760817002809 RectTransform: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 5412590475371894251} + m_GameObject: {fileID: 4833824293992570152} m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: -0} - m_LocalScale: {x: 1, y: 1.02, z: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 8499419571710533894} - m_Father: {fileID: 6807662948277521941} + m_Children: [] + m_Father: {fileID: 4349531820177581671} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0, y: 0} - m_AnchorMax: {x: 0, y: 0} + m_AnchorMax: {x: 1, y: 1} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 0, y: 0} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &2247568470252700814 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4833824293992570152} + m_CullTransparentMesh: 1 +--- !u!114 &5562511814728790440 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4833824293992570152} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} + m_Maskable: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_text: Save + m_isRightToLeft: 0 + m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} + m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} + m_fontSharedMaterials: [] + m_fontMaterial: {fileID: 0} + m_fontMaterials: [] + m_fontColor32: + serializedVersion: 2 + rgba: 4281479730 + m_fontColor: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1} + m_enableVertexGradient: 0 + m_colorMode: 3 + m_fontColorGradient: + topLeft: {r: 1, g: 1, b: 1, a: 1} + topRight: {r: 1, g: 1, b: 1, a: 1} + bottomLeft: {r: 1, g: 1, b: 1, a: 1} + bottomRight: {r: 1, g: 1, b: 1, a: 1} + m_fontColorGradientPreset: {fileID: 0} + m_spriteAsset: {fileID: 0} + m_tintAllSprites: 0 + m_StyleSheet: {fileID: 0} + m_TextStyleHashCode: -1183493901 + m_overrideHtmlColors: 0 + m_faceColor: + serializedVersion: 2 + rgba: 4294967295 + m_fontSize: 24 + m_fontSizeBase: 24 + m_fontWeight: 400 + m_enableAutoSizing: 0 + m_fontSizeMin: 18 + m_fontSizeMax: 72 + m_fontStyle: 0 + m_HorizontalAlignment: 2 + m_VerticalAlignment: 512 + m_textAlignment: 65535 + m_characterSpacing: 0 + m_wordSpacing: 0 + m_lineSpacing: 0 + m_lineSpacingMax: 0 + m_paragraphSpacing: 0 + m_charWidthMaxAdj: 0 + m_TextWrappingMode: 1 + m_wordWrappingRatios: 0.4 + m_overflowMode: 0 + m_linkedTextComponent: {fileID: 0} + parentLinkedComponent: {fileID: 0} + m_enableKerning: 0 + m_ActiveFontFeatures: 6e72656b + m_enableExtraPadding: 0 + checkPaddingRequired: 0 + m_isRichText: 1 + m_EmojiFallbackSupport: 1 + m_parseCtrlCharacters: 1 + m_isOrthographic: 1 + m_isCullingEnabled: 0 + m_horizontalMapping: 0 + m_verticalMapping: 0 + m_uvLineOffset: 0 + m_geometrySortingOrder: 0 + m_IsTextObjectScaleStatic: 0 + m_VertexBufferAutoSizeReduction: 0 + m_useMaxVisibleDescender: 1 + m_pageToDisplay: 1 + m_margin: {x: 0, y: 0, z: 0, w: 0} + m_isUsingLegacyAnimationComponent: 0 + m_isVolumetricText: 0 + m_hasFontAssetChanged: 0 + m_baseMaterial: {fileID: 0} + m_maskOffset: {x: 0, y: 0, z: 0, w: 0} +--- !u!1 &5403610277332838496 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 9203306652011177137} + - component: {fileID: 2960753309817575896} + m_Layer: 5 + m_Name: _grid_layout + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &9203306652011177137 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5403610277332838496} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 1875494739365411628} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 1} + m_AnchorMax: {x: 1, y: 1} + m_AnchoredPosition: {x: -60.00001, y: -120} + m_SizeDelta: {x: -180.00003, y: 100} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &2960753309817575896 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 5403610277332838496} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 8a8695521f0d02e499659fee002a26c2, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Padding: + m_Left: 0 + m_Right: 0 + m_Top: 0 + m_Bottom: 0 + m_ChildAlignment: 0 + m_StartCorner: 0 + m_StartAxis: 0 + m_CellSize: {x: 200, y: 30} + m_Spacing: {x: 0, y: 0} + m_Constraint: 0 + m_ConstraintCount: 2 +--- !u!1 &6633863215041664938 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 8617859285833570437} + - component: {fileID: 3251416813044982739} + - component: {fileID: 8008688141612569471} + m_Layer: 5 + m_Name: Text (TMP) + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &8617859285833570437 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6633863215041664938} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 5330429858819660496} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 1, y: 1} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 0, y: 0} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!222 &3251416813044982739 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6633863215041664938} + m_CullTransparentMesh: 1 +--- !u!114 &8008688141612569471 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 6633863215041664938} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} + m_Maskable: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_text: 'Load + +' + m_isRightToLeft: 0 + m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} + m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} + m_fontSharedMaterials: [] + m_fontMaterial: {fileID: 0} + m_fontMaterials: [] + m_fontColor32: + serializedVersion: 2 + rgba: 4281479730 + m_fontColor: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1} + m_enableVertexGradient: 0 + m_colorMode: 3 + m_fontColorGradient: + topLeft: {r: 1, g: 1, b: 1, a: 1} + topRight: {r: 1, g: 1, b: 1, a: 1} + bottomLeft: {r: 1, g: 1, b: 1, a: 1} + bottomRight: {r: 1, g: 1, b: 1, a: 1} + m_fontColorGradientPreset: {fileID: 0} + m_spriteAsset: {fileID: 0} + m_tintAllSprites: 0 + m_StyleSheet: {fileID: 0} + m_TextStyleHashCode: -1183493901 + m_overrideHtmlColors: 0 + m_faceColor: + serializedVersion: 2 + rgba: 4294967295 + m_fontSize: 24 + m_fontSizeBase: 24 + m_fontWeight: 400 + m_enableAutoSizing: 0 + m_fontSizeMin: 18 + m_fontSizeMax: 72 + m_fontStyle: 0 + m_HorizontalAlignment: 2 + m_VerticalAlignment: 512 + m_textAlignment: 65535 + m_characterSpacing: 0 + m_wordSpacing: 0 + m_lineSpacing: 0 + m_lineSpacingMax: 0 + m_paragraphSpacing: 0 + m_charWidthMaxAdj: 0 + m_TextWrappingMode: 1 + m_wordWrappingRatios: 0.4 + m_overflowMode: 0 + m_linkedTextComponent: {fileID: 0} + parentLinkedComponent: {fileID: 0} + m_enableKerning: 0 + m_ActiveFontFeatures: 6e72656b + m_enableExtraPadding: 0 + checkPaddingRequired: 0 + m_isRichText: 1 + m_EmojiFallbackSupport: 1 + m_parseCtrlCharacters: 1 + m_isOrthographic: 1 + m_isCullingEnabled: 0 + m_horizontalMapping: 0 + m_verticalMapping: 0 + m_uvLineOffset: 0 + m_geometrySortingOrder: 0 + m_IsTextObjectScaleStatic: 0 + m_VertexBufferAutoSizeReduction: 0 + m_useMaxVisibleDescender: 1 + m_pageToDisplay: 1 + m_margin: {x: 0, y: 0, z: 0, w: 0} + m_isUsingLegacyAnimationComponent: 0 + m_isVolumetricText: 0 + m_hasFontAssetChanged: 0 + m_baseMaterial: {fileID: 0} + m_maskOffset: {x: 0, y: 0, z: 0, w: 0} +--- !u!1 &7185441950130061312 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 3819839468614979238} + - component: {fileID: 8949205786012490233} + - component: {fileID: 8852552688137539847} + - component: {fileID: 2892891286904152928} + m_Layer: 5 + m_Name: Scrollbar Vertical + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &3819839468614979238 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 7185441950130061312} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: + - {fileID: 6400232748880702495} + m_Father: {fileID: 1222200442360830156} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 1, y: 0} + m_AnchorMax: {x: 1, y: 1} m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 0, y: 0} - m_Pivot: {x: 0, y: 1} ---- !u!222 &1512318833903419790 + m_SizeDelta: {x: 29.869, y: 0.000015259} + m_Pivot: {x: 1, y: 1} +--- !u!222 &8949205786012490233 CanvasRenderer: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 5412590475371894251} + m_GameObject: {fileID: 7185441950130061312} m_CullTransparentMesh: 1 ---- !u!114 &5465186484591056680 +--- !u!114 &8852552688137539847 MonoBehaviour: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 5412590475371894251} + m_GameObject: {fileID: 7185441950130061312} m_Enabled: 1 m_EditorHideFlags: 0 m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} @@ -711,13 +1266,13 @@ MonoBehaviour: m_EditorClassIdentifier: m_Material: {fileID: 0} m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 0 + m_RaycastTarget: 1 m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} m_Maskable: 1 m_OnCullStateChanged: m_PersistentCalls: m_Calls: [] - m_Sprite: {fileID: 10917, guid: 0000000000000000f000000000000000, type: 0} + m_Sprite: {fileID: 10907, guid: 0000000000000000f000000000000000, type: 0} m_Type: 1 m_PreserveAspect: 0 m_FillCenter: 1 @@ -727,20 +1282,56 @@ MonoBehaviour: m_FillOrigin: 0 m_UseSpriteMesh: 0 m_PixelsPerUnitMultiplier: 1 ---- !u!114 &1725429615756589145 +--- !u!114 &2892891286904152928 MonoBehaviour: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 5412590475371894251} + m_GameObject: {fileID: 7185441950130061312} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 31a19414c41e5ae4aae2af33fee712f6, type: 3} + m_Script: {fileID: 11500000, guid: 2a4db7a114972834c8e4117be1d82ba3, type: 3} m_Name: m_EditorClassIdentifier: - m_ShowMaskGraphic: 0 ---- !u!1 &5711820282781845098 + m_Navigation: + m_Mode: 3 + m_WrapAround: 0 + m_SelectOnUp: {fileID: 0} + m_SelectOnDown: {fileID: 0} + m_SelectOnLeft: {fileID: 0} + m_SelectOnRight: {fileID: 0} + m_Transition: 1 + m_Colors: + m_NormalColor: {r: 1, g: 1, b: 1, a: 1} + m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} + m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} + m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} + m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} + m_ColorMultiplier: 1 + m_FadeDuration: 0.1 + m_SpriteState: + m_HighlightedSprite: {fileID: 0} + m_PressedSprite: {fileID: 0} + m_SelectedSprite: {fileID: 0} + m_DisabledSprite: {fileID: 0} + m_AnimationTriggers: + m_NormalTrigger: Normal + m_HighlightedTrigger: Highlighted + m_PressedTrigger: Pressed + m_SelectedTrigger: Selected + m_DisabledTrigger: Disabled + m_Interactable: 1 + m_TargetGraphic: {fileID: 388510799598957781} + m_HandleRect: {fileID: 9078676211360305053} + m_Direction: 2 + m_Value: 1 + m_Size: 0.3951163 + m_NumberOfSteps: 0 + m_OnValueChanged: + m_PersistentCalls: + m_Calls: [] +--- !u!1 &7569038812468717838 GameObject: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} @@ -748,67 +1339,69 @@ GameObject: m_PrefabAsset: {fileID: 0} serializedVersion: 6 m_Component: - - component: {fileID: 6006606313185908572} - - component: {fileID: 9154222928993614557} - - component: {fileID: 4049866222014679538} - - component: {fileID: 145303785985673993} + - component: {fileID: 1222200442360830156} + - component: {fileID: 1697067786911872527} + - component: {fileID: 536696572244736746} + - component: {fileID: 2500438026419293940} m_Layer: 5 - m_Name: bg + m_Name: Scroll View m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!224 &6006606313185908572 +--- !u!224 &1222200442360830156 RectTransform: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 5711820282781845098} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_GameObject: {fileID: 7569038812468717838} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1.5, y: 0.6, z: 1} + m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 6233983222527737757} + m_Children: + - {fileID: 7263571017349922648} + - {fileID: 3819839468614979238} + m_Father: {fileID: 1875494739365411628} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 0} - m_AnchorMax: {x: 1, y: 0} - m_AnchoredPosition: {x: 0, y: 32} - m_SizeDelta: {x: 0, y: 64} + m_AnchorMin: {x: 0.5, y: 0.5} + m_AnchorMax: {x: 0.5, y: 0.5} + m_AnchoredPosition: {x: 6.093, y: -39.7} + m_SizeDelta: {x: 352.183, y: 200} m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &9154222928993614557 +--- !u!222 &1697067786911872527 CanvasRenderer: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 5711820282781845098} - m_CullTransparentMesh: 0 ---- !u!114 &4049866222014679538 + m_GameObject: {fileID: 7569038812468717838} + m_CullTransparentMesh: 1 +--- !u!114 &536696572244736746 MonoBehaviour: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 5711820282781845098} + m_GameObject: {fileID: 7569038812468717838} m_Enabled: 1 m_EditorHideFlags: 0 m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} m_Name: m_EditorClassIdentifier: m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} + m_Color: {r: 0.74641025, g: 0.86817616, b: 0.9308176, a: 0.392} m_RaycastTarget: 1 m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} m_Maskable: 1 m_OnCullStateChanged: m_PersistentCalls: m_Calls: [] - m_Sprite: {fileID: 21300000, guid: 091a94401704ae2468386e448cfb11bf, type: 3} - m_Type: 0 - m_PreserveAspect: 1 + m_Sprite: {fileID: 10907, guid: 0000000000000000f000000000000000, type: 0} + m_Type: 1 + m_PreserveAspect: 0 m_FillCenter: 1 m_FillMethod: 4 m_FillAmount: 1 @@ -816,27 +1409,37 @@ MonoBehaviour: m_FillOrigin: 0 m_UseSpriteMesh: 0 m_PixelsPerUnitMultiplier: 1 ---- !u!114 &145303785985673993 +--- !u!114 &2500438026419293940 MonoBehaviour: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 5711820282781845098} + m_GameObject: {fileID: 7569038812468717838} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 306cc8c2b49d7114eaa3623786fc2126, type: 3} + m_Script: {fileID: 11500000, guid: 1aa08ab6e0800fa44ae55d278d1423e3, type: 3} m_Name: m_EditorClassIdentifier: - m_IgnoreLayout: 1 - m_MinWidth: -1 - m_MinHeight: -1 - m_PreferredWidth: -1 - m_PreferredHeight: -1 - m_FlexibleWidth: -1 - m_FlexibleHeight: -1 - m_LayoutPriority: 1 ---- !u!1 &6241614899384733462 + m_Content: {fileID: 5439115766898413507} + m_Horizontal: 0 + m_Vertical: 1 + m_MovementType: 1 + m_Elasticity: 0.1 + m_Inertia: 1 + m_DecelerationRate: 0.135 + m_ScrollSensitivity: 1 + m_Viewport: {fileID: 7263571017349922648} + m_HorizontalScrollbar: {fileID: 0} + m_VerticalScrollbar: {fileID: 2892891286904152928} + m_HorizontalScrollbarVisibility: 2 + m_VerticalScrollbarVisibility: 2 + m_HorizontalScrollbarSpacing: -3 + m_VerticalScrollbarSpacing: -3 + m_OnValueChanged: + m_PersistentCalls: + m_Calls: [] +--- !u!1 &8022826026762471970 GameObject: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} @@ -844,35 +1447,61 @@ GameObject: m_PrefabAsset: {fileID: 0} serializedVersion: 6 m_Component: - - component: {fileID: 8368713185283337566} + - component: {fileID: 5439115766898413507} + - component: {fileID: 3734961370671357265} m_Layer: 5 - m_Name: Sliding Area + m_Name: Content m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!224 &8368713185283337566 +--- !u!224 &5439115766898413507 RectTransform: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 6241614899384733462} + m_GameObject: {fileID: 8022826026762471970} m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} m_LocalPosition: {x: 0, y: 0, z: 0} m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 0 - m_Children: - - {fileID: 2381487980547812817} - m_Father: {fileID: 1616395046698349844} + m_Children: [] + m_Father: {fileID: 7263571017349922648} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 0} + m_AnchorMin: {x: 0, y: 1} m_AnchorMax: {x: 1, y: 1} - m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: -20, y: -20} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!1 &6345847121306217022 + m_AnchoredPosition: {x: -0, y: -0} + m_SizeDelta: {x: 0, y: 506.18} + m_Pivot: {x: 0, y: 1} +--- !u!114 &3734961370671357265 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8022826026762471970} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 59f8146938fff824cb5fd77236b75775, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Padding: + m_Left: 0 + m_Right: 0 + m_Top: 0 + m_Bottom: 0 + m_ChildAlignment: 0 + m_Spacing: 7.13 + m_ChildForceExpandWidth: 0 + m_ChildForceExpandHeight: 0 + m_ChildControlWidth: 0 + m_ChildControlHeight: 0 + m_ChildScaleWidth: 1 + m_ChildScaleHeight: 1 + m_ReverseArrangement: 0 +--- !u!1 &8305679995249398367 GameObject: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} @@ -880,74 +1509,78 @@ GameObject: m_PrefabAsset: {fileID: 0} serializedVersion: 6 m_Component: - - component: {fileID: 2381487980547812817} - - component: {fileID: 177811351474342289} - - component: {fileID: 3284491034471198711} + - component: {fileID: 6781756718723242413} + - component: {fileID: 156768258372203414} + - component: {fileID: 3739161531849051962} m_Layer: 5 - m_Name: Handle + m_Name: text m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!224 &2381487980547812817 +--- !u!224 &6781756718723242413 RectTransform: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 6345847121306217022} + m_GameObject: {fileID: 8305679995249398367} m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} m_LocalPosition: {x: 0, y: 0, z: 0} m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 0 m_Children: [] - m_Father: {fileID: 8368713185283337566} + m_Father: {fileID: 8982198197105583876} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0, y: 0} m_AnchorMax: {x: 0, y: 0} m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 20, y: 20} + m_SizeDelta: {x: 364.3, y: 64} m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &177811351474342289 +--- !u!222 &156768258372203414 CanvasRenderer: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 6345847121306217022} - m_CullTransparentMesh: 1 ---- !u!114 &3284491034471198711 + m_GameObject: {fileID: 8305679995249398367} + m_CullTransparentMesh: 0 +--- !u!114 &3739161531849051962 MonoBehaviour: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 6345847121306217022} + m_GameObject: {fileID: 8305679995249398367} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} m_Name: m_EditorClassIdentifier: m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} + m_Color: {r: 0, g: 0, b: 0, a: 1} m_RaycastTarget: 1 m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} m_Maskable: 1 m_OnCullStateChanged: m_PersistentCalls: m_Calls: [] - m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0} - m_Type: 1 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!1 &7226891969872650921 + m_FontData: + m_Font: {fileID: 12800000, guid: 6f1c1874f66b8d742bb1f6795654f335, type: 3} + m_FontSize: 18 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 1 + m_MaxSize: 40 + m_Alignment: 4 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: SofaData +--- !u!1 &8639145600825759988 GameObject: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} @@ -955,95 +1588,35 @@ GameObject: m_PrefabAsset: {fileID: 0} serializedVersion: 6 m_Component: - - component: {fileID: 1011162121538531742} - - component: {fileID: 2614908913241804615} - - component: {fileID: 1258719324937548735} - - component: {fileID: 7945028437936975421} + - component: {fileID: 6400232748880702495} m_Layer: 5 - m_Name: bg + m_Name: Sliding Area m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!224 &1011162121538531742 +--- !u!224 &6400232748880702495 RectTransform: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7226891969872650921} + m_GameObject: {fileID: 8639145600825759988} m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1.9018, z: 1} + m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 5106657652260943359} + m_Children: + - {fileID: 9078676211360305053} + m_Father: {fileID: 3819839468614979238} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0, y: 0} m_AnchorMax: {x: 1, y: 1} - m_AnchoredPosition: {x: 0, y: -6} - m_SizeDelta: {x: 0, y: -130} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: -20, y: -20} m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &2614908913241804615 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7226891969872650921} - m_CullTransparentMesh: 0 ---- !u!114 &1258719324937548735 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7226891969872650921} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 21300000, guid: 24c0b2eedb63a4c4692dc67a2d2bd87a, type: 3} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!114 &7945028437936975421 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7226891969872650921} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 306cc8c2b49d7114eaa3623786fc2126, type: 3} - m_Name: - m_EditorClassIdentifier: - m_IgnoreLayout: 1 - m_MinWidth: -1 - m_MinHeight: -1 - m_PreferredWidth: -1 - m_PreferredHeight: -1 - m_FlexibleWidth: -1 - m_FlexibleHeight: -1 - m_LayoutPriority: 1 ---- !u!1 &7908959945314910787 +--- !u!1 &9034287801295988091 GameObject: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} @@ -1051,55 +1624,59 @@ GameObject: m_PrefabAsset: {fileID: 0} serializedVersion: 6 m_Component: - - component: {fileID: 5235626219158377054} - - component: {fileID: 8555991931649946138} + - component: {fileID: 8982198197105583876} + - component: {fileID: 6078260632242370970} m_Layer: 5 - m_Name: _grid_layout + m_Name: _header m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!224 &5235626219158377054 +--- !u!224 &8982198197105583876 RectTransform: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7908959945314910787} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_GameObject: {fileID: 9034287801295988091} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} m_LocalPosition: {x: 0, y: 0, z: 0} m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 5106657652260943359} + m_Children: + - {fileID: 2985878854310282401} + - {fileID: 6781756718723242413} + m_Father: {fileID: 1875494739365411628} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0, y: 1} m_AnchorMax: {x: 1, y: 1} - m_AnchoredPosition: {x: -60.00001, y: -120} - m_SizeDelta: {x: -180.00003, y: 100} + m_AnchoredPosition: {x: 0, y: -40} + m_SizeDelta: {x: 0, y: 64} m_Pivot: {x: 0.5, y: 0.5} ---- !u!114 &8555991931649946138 +--- !u!114 &6078260632242370970 MonoBehaviour: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7908959945314910787} + m_GameObject: {fileID: 9034287801295988091} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 8a8695521f0d02e499659fee002a26c2, type: 3} + m_Script: {fileID: 11500000, guid: 30649d3a9faa99c48a7b1166b86bf2a0, type: 3} m_Name: m_EditorClassIdentifier: m_Padding: - m_Left: 0 - m_Right: 0 + m_Left: 24 + m_Right: 16 m_Top: 0 m_Bottom: 0 - m_ChildAlignment: 0 - m_StartCorner: 0 - m_StartAxis: 0 - m_CellSize: {x: 200, y: 30} - m_Spacing: {x: 0, y: 0} - m_Constraint: 0 - m_ConstraintCount: 2 + m_ChildAlignment: 4 + m_Spacing: 0 + m_ChildForceExpandWidth: 1 + m_ChildForceExpandHeight: 1 + m_ChildControlWidth: 0 + m_ChildControlHeight: 0 + m_ChildScaleWidth: 0 + m_ChildScaleHeight: 0 + m_ReverseArrangement: 0 diff --git a/Core/Scripts/UI/DataManager/DynamicSofaDataManager.prefab.meta b/Core/Scripts/UI/DataManager/DynamicSofaDataManager.prefab.meta index 20b0b1b6..97189ed2 100644 --- a/Core/Scripts/UI/DataManager/DynamicSofaDataManager.prefab.meta +++ b/Core/Scripts/UI/DataManager/DynamicSofaDataManager.prefab.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: 650952afc7972674f8f140dff1d22163 +guid: 106e6bb2d5ca5ef43b2c515452dc99ba PrefabImporter: externalObjects: {} userData: diff --git a/Core/Scripts/UI/DataManager/SDataSaveLoad.cs b/Core/Scripts/UI/DataManager/SDataSaveLoad.cs index c158e183..53bde194 100644 --- a/Core/Scripts/UI/DataManager/SDataSaveLoad.cs +++ b/Core/Scripts/UI/DataManager/SDataSaveLoad.cs @@ -112,7 +112,8 @@ public void LoadDynamicData() foreach (DynamicDataSave dds in dataList.dataSaveList) { UpdateValueFromType(m_SDManager.DSDataList[i], dds.value); - Debug.Log("tryed to update " + m_SDManager.DSDataList[i].dataName); + //update UI sliders + UpdateDynamicDataUI(m_SDManager.DSDataList[i], dds.value); i++; } } @@ -120,8 +121,10 @@ public void LoadDynamicData() { Debug.LogError("LoadDynamicData : Data file empty or not found"); } + - + + } @@ -207,10 +210,6 @@ public void UpdateValueFromType(SofaDataReference sdr, string newValue) } } - - - - public string GetValueFromType(SofaDataReference sdr) { if (sdr == null || sdr.sofaComponent == null) @@ -261,6 +260,42 @@ public string GetValueFromType(SofaDataReference sdr) return null; } + /// + /// + /// + /// + /// + public void UpdateDynamicDataUI(SofaDataReference sdr, string newValue) + { + if (sdr == null || string.IsNullOrEmpty(newValue)) + return; + + if (!float.TryParse(newValue, out float thisValue)) + { + Debug.LogWarning("Failed to parse Float value: " + newValue); + return; + } + + DynamicSdata[] allDynamicData = FindObjectsByType(FindObjectsSortMode.None); + foreach (DynamicSdata element in allDynamicData) + { + if (!string.IsNullOrEmpty(element.GetUIName())) + { + if (element.GetUIName()== sdr.optionalCustomName) + { + element.GetSlider().value = Mathf.Clamp01(thisValue); + return; + } + } + if (element.GetDataName() == sdr.dataName) + { + element.GetSlider().value = Mathf.Clamp01(thisValue); + return; + } + } + } + + }//end class }//end namespace From 93dfbb984db7d62b72a5fb93dcb936c812a5770e Mon Sep 17 00:00:00 2001 From: PierreFonda3D Date: Wed, 14 Jan 2026 17:28:28 +0100 Subject: [PATCH 5/5] fixed build mode --- Core/Scripts/UI/DataManager/SDataSaveLoad.cs | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/Core/Scripts/UI/DataManager/SDataSaveLoad.cs b/Core/Scripts/UI/DataManager/SDataSaveLoad.cs index 53bde194..9ac61c07 100644 --- a/Core/Scripts/UI/DataManager/SDataSaveLoad.cs +++ b/Core/Scripts/UI/DataManager/SDataSaveLoad.cs @@ -59,6 +59,13 @@ void Start() public void SaveDynamicData() { + if (!File.Exists(m_SavePath)) + { +#if !UNITY_EDITOR + Debug.LogWarning($"File not find in {m_SavePath}. Creation in Application.dataPath."); + m_SavePath = Application.dataPath; +#endif + } m_DataSaveList.dataSaveList.Clear(); int i = 0; foreach(SofaDataReference sdr in m_SDManager.DSDataList) @@ -88,6 +95,13 @@ public void SaveDynamicData() public void LoadDynamicData() { + if (!File.Exists(m_SavePath)) + { +#if !UNITY_EDITOR + Debug.LogWarning($"File not find in {m_SavePath}. Creation in Application.dataPath."); + m_SavePath = Application.dataPath; +#endif + } if (!File.Exists(m_SavePath + m_SceneName)) { Debug.LogError("JSON file not found: " + m_SavePath + m_SceneName);