Compare commits
7 Commits
pgd/202504
...
dev/jym/25
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6658ed5dcd | ||
|
|
0379f77337 | ||
| ea59282d65 | |||
| 6e9d1b9425 | |||
|
|
a64717a87e | ||
|
|
3f260d2c57 | ||
|
|
ff8e9ce972 |
File diff suppressed because one or more lines are too long
8
Assets/NewStudioJYM.meta
Normal file
8
Assets/NewStudioJYM.meta
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 7f1ab105e95a7ee44965ac5927623809
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
5577
Assets/NewStudioJYM/DataModal.unity
Normal file
5577
Assets/NewStudioJYM/DataModal.unity
Normal file
File diff suppressed because it is too large
Load Diff
7
Assets/NewStudioJYM/DataModal.unity.meta
Normal file
7
Assets/NewStudioJYM/DataModal.unity.meta
Normal file
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 760eabef824940d46a364a011f425b80
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
8
Assets/NewStudioJYM/Scripts.meta
Normal file
8
Assets/NewStudioJYM/Scripts.meta
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 4e0d5bd459141d14892f068ccc1d6c13
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
249
Assets/NewStudioJYM/Scripts/Panel_DataConnectModal.cs
Normal file
249
Assets/NewStudioJYM/Scripts/Panel_DataConnectModal.cs
Normal file
@@ -0,0 +1,249 @@
|
||||
using Newtonsoft.Json;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using TMPro;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
using XRLib;
|
||||
using XRLib.UI;
|
||||
|
||||
namespace XED
|
||||
{
|
||||
public class Panel_DataConnectModal : PanelBase
|
||||
{
|
||||
public APIData api;
|
||||
public DataStorageData dataStorage;
|
||||
|
||||
private List<Datum> connectedData = new List<Datum>();
|
||||
private List<Datum> addedData = new List<Datum>();
|
||||
|
||||
private List<Datum> apiDatas = new List<Datum>();
|
||||
private List<DataList> dataStorageDatas = new List<DataList>();
|
||||
private bool isAPI;
|
||||
|
||||
public Toggle Toggle_Api;
|
||||
public Toggle Toggle_Storage;
|
||||
public TMP_Dropdown Dropdown_DataList;
|
||||
public Button Button_Cancel;
|
||||
public Button Button_Save;
|
||||
|
||||
private RectTransform RectTransform_APIData;
|
||||
private RectTransform AddStorageDataButtonArea;
|
||||
private RectTransform APIDataListContent;
|
||||
private RectTransform APIContent;
|
||||
private Button Button_loadAPIData;
|
||||
private Button Button_AddStorageData;
|
||||
|
||||
private List<DataList> loadAPIData = new List<DataList>();
|
||||
private List<UI_LoadAPIDataItem> currentAPIDataItems = new List<UI_LoadAPIDataItem>();
|
||||
private UI_DataSettingItem currentAPISettingItem;
|
||||
|
||||
private RectTransform RectTransform_DataStorage;
|
||||
private RectTransform DataStorageContent;
|
||||
private RectTransform AddAPIDataButtonArea;
|
||||
private Button Button_AddAPIData;
|
||||
private Toggle Toggle_limitStorageSetting;
|
||||
|
||||
private UI_DataSettingItem currentStorageSettingItem;
|
||||
|
||||
private UI_LoadAPIDataItem prf_loadAPIDataItem;
|
||||
private UI_DataSettingItem prf_DataSettingItem;
|
||||
private UI_DataTypeSelectedItem prf_DataTypeSelectedItem;
|
||||
private UI_MatchingTypeDataItem prf_MatchingTypeDataItem;
|
||||
private UI_AddOtherDataItem prf_AddOtherDataItem;
|
||||
private UI_AddOtherDataTypeItem prf_AddOtherDataTypeItem;
|
||||
|
||||
private RectTransform currentContent;
|
||||
|
||||
private void TestDataConnected()
|
||||
{
|
||||
var apiJson = Resources.Load<TextAsset>("Test").text;
|
||||
api = JsonConvert.DeserializeObject<APIData>(apiJson);
|
||||
|
||||
var dataStorageJson = Resources.Load<TextAsset>("Test1").text;
|
||||
dataStorage = JsonConvert.DeserializeObject<DataStorageData>(dataStorageJson);
|
||||
}
|
||||
public override void AfterAwake()
|
||||
{
|
||||
TestDataConnected();
|
||||
|
||||
prf_loadAPIDataItem = Resources.Load<UI_LoadAPIDataItem>("Prefabs/UI/PRF_LoadAPIDataItem");
|
||||
prf_DataSettingItem = Resources.Load<UI_DataSettingItem>("Prefabs/UI/PRF_DataSettingItem");
|
||||
prf_DataTypeSelectedItem = Resources.Load<UI_DataTypeSelectedItem>("Prefabs/UI/PRF_DataTypeSelectedItem");
|
||||
prf_MatchingTypeDataItem = Resources.Load<UI_MatchingTypeDataItem>("Prefabs/UI/PRF_MatchingTypeDataItem");
|
||||
prf_AddOtherDataItem = Resources.Load<UI_AddOtherDataItem>("Prefabs/UI/PRF_AddOtherDataItem");
|
||||
prf_AddOtherDataTypeItem = Resources.Load<UI_AddOtherDataTypeItem>("Prefabs/UI/PRF_AddOtherDataTypeItem");
|
||||
|
||||
Toggle_Api.onValueChanged.AddListener(OnAPIToggleValueChanged);
|
||||
Toggle_Storage.onValueChanged.AddListener(OnDataStorageToggleValueChanged);
|
||||
Toggle_limitStorageSetting.onValueChanged.AddListener(OnLimitStorageSettingToggleValueChanged);
|
||||
|
||||
Button_loadAPIData.onClick.AddListener(LoadAPIData);
|
||||
Button_AddStorageData.onClick.AddListener(AddOtherDataItem);
|
||||
Button_AddAPIData.onClick.AddListener(AddOtherDataItem);
|
||||
Button_Cancel.onClick.AddListener(CloseModal);
|
||||
Button_Save.onClick.AddListener(Save);
|
||||
|
||||
RectTransform_APIData.gameObject.SetActive(false);
|
||||
RectTransform_DataStorage.gameObject.SetActive(false);
|
||||
}
|
||||
private void OnAPIToggleValueChanged(bool isOn)
|
||||
{
|
||||
if (isOn)
|
||||
{
|
||||
connectedData.Clear();
|
||||
addedData.Clear();
|
||||
|
||||
RectTransform_APIData.gameObject.SetActive(true);
|
||||
currentContent = APIContent;
|
||||
|
||||
connectedData.AddRange(api.apiData);
|
||||
addedData.AddRange(dataStorage.dataStorageData);
|
||||
|
||||
isAPI = true;
|
||||
PopulateDataListDropdown(api.apiData);
|
||||
Toggle_Storage.isOn = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
RectTransform_APIData.gameObject.SetActive(false);
|
||||
}
|
||||
}
|
||||
private void OnDataStorageToggleValueChanged(bool isOn)
|
||||
{
|
||||
if (isOn)
|
||||
{
|
||||
connectedData.Clear();
|
||||
addedData.Clear();
|
||||
|
||||
RectTransform_DataStorage.gameObject.SetActive(true);
|
||||
currentContent = DataStorageContent;
|
||||
|
||||
connectedData.AddRange(dataStorage.dataStorageData);
|
||||
addedData.AddRange(api.apiData);
|
||||
|
||||
isAPI = false;
|
||||
PopulateDataListDropdown(dataStorage.dataStorageData);
|
||||
Toggle_Api.isOn = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
RectTransform_DataStorage.gameObject.SetActive(false);
|
||||
}
|
||||
}
|
||||
private void OnLimitStorageSettingToggleValueChanged(bool isOn)
|
||||
{
|
||||
var isActive = isOn;
|
||||
DataStorageContent.gameObject.SetActive(isActive);
|
||||
}
|
||||
private void PopulateDataListDropdown(List<Datum> data)
|
||||
{
|
||||
Dropdown_DataList.ClearOptions();
|
||||
List<string> displayNames = new List<string>();
|
||||
|
||||
if (isAPI)
|
||||
{
|
||||
apiDatas.Clear();
|
||||
|
||||
foreach (var api in data)
|
||||
{
|
||||
apiDatas.Add(api);
|
||||
displayNames.Add(api.name);
|
||||
}
|
||||
|
||||
Dropdown_DataList.AddOptions(displayNames);
|
||||
Dropdown_DataList.onValueChanged.AddListener(OnValueChangedAPIDropDown);
|
||||
|
||||
Dropdown_DataList.SetValueWithoutNotify(0);
|
||||
SetLoadApiData(0);
|
||||
}
|
||||
else
|
||||
{
|
||||
dataStorageDatas.Clear();
|
||||
|
||||
for (int i = 0; i < data.Count; i++)
|
||||
{
|
||||
for (int j = 0; j < data[i].dataList.Count; j++)
|
||||
{
|
||||
dataStorageDatas.Add(data[i].dataList[j]);
|
||||
displayNames.Add(data[i].dataList[j].name);
|
||||
}
|
||||
}
|
||||
Dropdown_DataList.AddOptions(displayNames);
|
||||
Dropdown_DataList.onValueChanged.AddListener(OnValueChangedDataStorageDropDown);
|
||||
|
||||
AddDataSettingItem(DataStorageContent, AddAPIDataButtonArea, ref currentStorageSettingItem, dataStorageDatas[0]);
|
||||
}
|
||||
}
|
||||
|
||||
private void OnValueChangedAPIDropDown(int index)
|
||||
{
|
||||
SetLoadApiData(index);
|
||||
}
|
||||
private void SetLoadApiData(int index)
|
||||
{
|
||||
loadAPIData.Clear();
|
||||
var apiData = apiDatas[index];
|
||||
loadAPIData.AddRange(apiData.dataList);
|
||||
}
|
||||
|
||||
void LoadAPIData()
|
||||
{
|
||||
foreach (var item in currentAPIDataItems)
|
||||
Destroy(item);
|
||||
|
||||
currentAPIDataItems.Clear();
|
||||
|
||||
foreach (var data in loadAPIData)
|
||||
{
|
||||
var item = Instantiate(prf_loadAPIDataItem, APIDataListContent);
|
||||
item.SetData(data);
|
||||
item.onClickItem += OnClickAPIDataItem;
|
||||
currentAPIDataItems.Add(item);
|
||||
}
|
||||
}
|
||||
private void OnClickAPIDataItem(DataList data)
|
||||
{
|
||||
AddDataSettingItem(APIContent, AddStorageDataButtonArea, ref currentAPISettingItem, data);
|
||||
}
|
||||
private void OnValueChangedDataStorageDropDown(int index)
|
||||
{
|
||||
AddDataSettingItem(DataStorageContent, AddAPIDataButtonArea, ref currentStorageSettingItem, dataStorageDatas[index]);
|
||||
}
|
||||
private void UpdateLayout()
|
||||
{
|
||||
LayoutRebuilder.ForceRebuildLayoutImmediate(currentContent);
|
||||
}
|
||||
private void AddDataSettingItem(RectTransform content, RectTransform buttonArea, ref UI_DataSettingItem preSettingItem, DataList data)
|
||||
{
|
||||
if (preSettingItem != null)
|
||||
{
|
||||
Destroy(preSettingItem.gameObject);
|
||||
preSettingItem = null;
|
||||
}
|
||||
|
||||
var item = Instantiate(prf_DataSettingItem, content);
|
||||
var index = buttonArea.transform.GetSiblingIndex();
|
||||
item.transform.SetSiblingIndex(index);
|
||||
item.SetData(data, prf_DataTypeSelectedItem, prf_MatchingTypeDataItem);
|
||||
item.onUpdateLayout += UpdateLayout;
|
||||
preSettingItem = item;
|
||||
}
|
||||
private void AddOtherDataItem()
|
||||
{
|
||||
var item = Instantiate(prf_AddOtherDataItem, currentContent);
|
||||
item.SetItem(addedData, prf_AddOtherDataTypeItem);
|
||||
item.onUpdateLayout += UpdateLayout;
|
||||
item.transform.SetAsLastSibling();
|
||||
}
|
||||
void Save()
|
||||
{
|
||||
Debug.Log("ÀúÀå ¼öÇàµÊ");
|
||||
}
|
||||
|
||||
void CloseModal()
|
||||
{
|
||||
gameObject.SetActive(false);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 91ad386df90464f42afdad28100d8037
|
||||
40
Assets/NewStudioJYM/Scripts/TestAPIData.cs
Normal file
40
Assets/NewStudioJYM/Scripts/TestAPIData.cs
Normal file
@@ -0,0 +1,40 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
namespace XED
|
||||
{
|
||||
[Serializable]
|
||||
public class Datum
|
||||
{
|
||||
public string name;
|
||||
public List<DataList> dataList;
|
||||
}
|
||||
|
||||
[Serializable]
|
||||
public class DataList
|
||||
{
|
||||
public string name;
|
||||
public List<Field> fields;
|
||||
}
|
||||
|
||||
[Serializable]
|
||||
public class Field
|
||||
{
|
||||
public string name;
|
||||
public string type;
|
||||
public string value;
|
||||
}
|
||||
|
||||
[Serializable]
|
||||
public class APIData
|
||||
{
|
||||
public List<Datum> apiData;
|
||||
}
|
||||
|
||||
[Serializable]
|
||||
public class DataStorageData
|
||||
{
|
||||
public List<Datum> dataStorageData;
|
||||
}
|
||||
}
|
||||
2
Assets/NewStudioJYM/Scripts/TestAPIData.cs.meta
Normal file
2
Assets/NewStudioJYM/Scripts/TestAPIData.cs.meta
Normal file
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 95e66905521b2554fa13ad6c1e89ffae
|
||||
86
Assets/NewStudioJYM/Scripts/UI_AddOtherDataItem.cs
Normal file
86
Assets/NewStudioJYM/Scripts/UI_AddOtherDataItem.cs
Normal file
@@ -0,0 +1,86 @@
|
||||
using UnityEngine;
|
||||
using TMPro;
|
||||
using System.Collections.Generic;
|
||||
using System;
|
||||
using XRLib.UI;
|
||||
using UnityEngine.UI;
|
||||
|
||||
namespace XED
|
||||
{
|
||||
public class UI_AddOtherDataItem : UIBase
|
||||
{
|
||||
private TMP_Dropdown Dropdown_ClassName;
|
||||
private RectTransform ClassDataContent;
|
||||
private Button Button_Delete;
|
||||
|
||||
private List<string> options = new List<string>();
|
||||
public List<DataList> datas = new List<DataList>();
|
||||
|
||||
private UI_AddOtherDataTypeItem addOtherDataTypeItem;
|
||||
public List<UI_AddOtherDataTypeItem> addOtherDataTypeItems = new List<UI_AddOtherDataTypeItem>();
|
||||
private RectTransform originRectTransform;
|
||||
|
||||
public Action onUpdateLayout;
|
||||
|
||||
public void SetItem(List<Datum> datas, UI_AddOtherDataTypeItem addOtherDataTypeItem)
|
||||
{
|
||||
this.addOtherDataTypeItem = addOtherDataTypeItem;
|
||||
originRectTransform = addOtherDataTypeItem.rectTransform;
|
||||
Button_Delete.onClick.AddListener(OnClickDeleteButton);
|
||||
|
||||
options.Clear();
|
||||
this.datas.Clear();
|
||||
|
||||
Dropdown_ClassName.ClearOptions();
|
||||
|
||||
for (int i = 0; i < datas.Count; i++)
|
||||
{
|
||||
for(int j = 0; j < datas[i].dataList.Count; j++)
|
||||
{
|
||||
this.datas.Add(datas[i].dataList[j]);
|
||||
options.Add(datas[i].dataList[j].name);
|
||||
}
|
||||
}
|
||||
Dropdown_ClassName.AddOptions(options);
|
||||
Dropdown_ClassName.onValueChanged.AddListener(OnValueChangedClassName);
|
||||
|
||||
Dropdown_ClassName.SetValueWithoutNotify(0);
|
||||
GenerateDatTypeItem(0);
|
||||
}
|
||||
|
||||
private void OnClickDeleteButton()
|
||||
{
|
||||
Destroy(gameObject);
|
||||
}
|
||||
private void OnValueChangedClassName(int index)
|
||||
{
|
||||
GenerateDatTypeItem(index);
|
||||
}
|
||||
private void GenerateDatTypeItem(int index)
|
||||
{
|
||||
rectTransform.sizeDelta = originRectTransform.sizeDelta;
|
||||
|
||||
foreach (var item in addOtherDataTypeItems)
|
||||
Destroy(item.gameObject);
|
||||
|
||||
addOtherDataTypeItems.Clear();
|
||||
|
||||
foreach (var field in datas[index].fields)
|
||||
{
|
||||
var item = Instantiate(addOtherDataTypeItem, ClassDataContent);
|
||||
item.SetItem(field);
|
||||
addOtherDataTypeItems.Add(item);
|
||||
|
||||
UpdateLayoutOnSettingDataAdded();
|
||||
}
|
||||
}
|
||||
private void UpdateLayoutOnSettingDataAdded()
|
||||
{
|
||||
var height = rectTransform.sizeDelta;
|
||||
height.y += addOtherDataTypeItem.rectTransform.rect.height;
|
||||
|
||||
rectTransform.sizeDelta = height;
|
||||
onUpdateLayout?.Invoke();
|
||||
}
|
||||
}
|
||||
}
|
||||
2
Assets/NewStudioJYM/Scripts/UI_AddOtherDataItem.cs.meta
Normal file
2
Assets/NewStudioJYM/Scripts/UI_AddOtherDataItem.cs.meta
Normal file
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 71268f3cfea70674bbc33729450e4844
|
||||
53
Assets/NewStudioJYM/Scripts/UI_AddOtherDataTypeItem.cs
Normal file
53
Assets/NewStudioJYM/Scripts/UI_AddOtherDataTypeItem.cs
Normal file
@@ -0,0 +1,53 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using TMPro;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
using XRLib.UI;
|
||||
|
||||
namespace XED
|
||||
{
|
||||
public enum StorageDataType
|
||||
{
|
||||
Int,
|
||||
Float,
|
||||
Double,
|
||||
String
|
||||
}
|
||||
public class UI_AddOtherDataTypeItem : UIBase
|
||||
{
|
||||
private Toggle Toggle_Use;
|
||||
private TextMeshProUGUI DataName;
|
||||
private TMP_Dropdown Dropdown_Type;
|
||||
|
||||
private Dictionary<int, string> options = new Dictionary<int, string>();
|
||||
|
||||
public void SetItem(Field field)
|
||||
{
|
||||
DataName.SetText(field.name);
|
||||
|
||||
Dropdown_Type.ClearOptions();
|
||||
var types = Enum.GetNames(typeof(StorageDataType));
|
||||
|
||||
for (int i = 0; i < types.Length; i++)
|
||||
{
|
||||
options.Add(i, types[i]);
|
||||
}
|
||||
Dropdown_Type.AddOptions(options.Values.ToList());
|
||||
Dropdown_Type.onValueChanged.AddListener(OnTypeChanged);
|
||||
|
||||
for (int i = 0; i < options.Count; i++)
|
||||
{
|
||||
if (field.type == options[i])
|
||||
{
|
||||
Dropdown_Type.value = i;
|
||||
}
|
||||
}
|
||||
}
|
||||
private void OnTypeChanged(int value)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 2a57b7b4127cf0f42a36369f10b2b517
|
||||
65
Assets/NewStudioJYM/Scripts/UI_DataSettingItem.cs
Normal file
65
Assets/NewStudioJYM/Scripts/UI_DataSettingItem.cs
Normal file
@@ -0,0 +1,65 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using TMPro;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
using XRLib.UI;
|
||||
|
||||
namespace XED
|
||||
{
|
||||
public class UI_DataSettingItem : UIBase
|
||||
{
|
||||
public TMP_InputField InputField_ClassName;
|
||||
private RectTransform ClassDataContent;
|
||||
|
||||
private List<UI_DataTypeSelectedItem> items = new List<UI_DataTypeSelectedItem>();
|
||||
private UI_DataTypeSelectedItem dataTypeSelectedItem;
|
||||
private RectTransform originRectTransform;
|
||||
|
||||
public Action onUpdateLayout;
|
||||
|
||||
public void SetData(DataList data, UI_DataTypeSelectedItem typeItem, UI_MatchingTypeDataItem matchingItem)
|
||||
{
|
||||
items.Clear();
|
||||
|
||||
dataTypeSelectedItem = typeItem;
|
||||
originRectTransform = typeItem.rectTransform;
|
||||
InputField_ClassName.text = data.name;
|
||||
|
||||
foreach (var field in data.fields)
|
||||
{
|
||||
var item = Instantiate(typeItem, ClassDataContent);
|
||||
item.SetItem(field, matchingItem);
|
||||
item.onAddMatchingData += UpdateLayoutOnMatchData;
|
||||
item.onDestroyMatchingData += UpdateLayoutOnMatchData;
|
||||
items.Add(item);
|
||||
|
||||
UpdateLayoutOnSettingDataAdded();
|
||||
}
|
||||
}
|
||||
private void UpdateLayoutOnMatchData()
|
||||
{
|
||||
var height = originRectTransform.sizeDelta;
|
||||
|
||||
foreach (var item in items)
|
||||
{
|
||||
height.y += item.rectTransform.rect.height;
|
||||
}
|
||||
rectTransform.sizeDelta = height;
|
||||
UpdateLayout();
|
||||
onUpdateLayout?.Invoke();
|
||||
}
|
||||
private void UpdateLayoutOnSettingDataAdded()
|
||||
{
|
||||
var height = rectTransform.sizeDelta;
|
||||
height.y += dataTypeSelectedItem.rectTransform.rect.height;
|
||||
|
||||
rectTransform.sizeDelta = height;
|
||||
onUpdateLayout?.Invoke();
|
||||
}
|
||||
private void UpdateLayout()
|
||||
{
|
||||
LayoutRebuilder.ForceRebuildLayoutImmediate(ClassDataContent);
|
||||
}
|
||||
}
|
||||
}
|
||||
2
Assets/NewStudioJYM/Scripts/UI_DataSettingItem.cs.meta
Normal file
2
Assets/NewStudioJYM/Scripts/UI_DataSettingItem.cs.meta
Normal file
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a946220b8630a2a45880933c6914c9d5
|
||||
110
Assets/NewStudioJYM/Scripts/UI_DataTypeSelectedItem.cs
Normal file
110
Assets/NewStudioJYM/Scripts/UI_DataTypeSelectedItem.cs
Normal file
@@ -0,0 +1,110 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using TMPro;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
using XRLib.UI;
|
||||
|
||||
namespace XED
|
||||
{
|
||||
public enum DataType
|
||||
{
|
||||
Int,
|
||||
Float,
|
||||
Double,
|
||||
String,
|
||||
Matching
|
||||
}
|
||||
|
||||
public class UI_DataTypeSelectedItem : UIBase
|
||||
{
|
||||
private Toggle Toggle_Use;
|
||||
private TextMeshProUGUI DataName;
|
||||
private TextMeshProUGUI DataValue;
|
||||
private TMP_Dropdown Dropdown_Type;
|
||||
private Button Button_MatchingAddData;
|
||||
private RectTransform MatchingItemContent;
|
||||
|
||||
private Dictionary<int, string> options = new Dictionary<int, string>();
|
||||
private Field data;
|
||||
|
||||
private UI_MatchingTypeDataItem matchingTypeDataItem;
|
||||
|
||||
public Action onAddMatchingData;
|
||||
public Action onDestroyMatchingData;
|
||||
|
||||
public void SetItem(Field field, UI_MatchingTypeDataItem matchingTypeDataItem)
|
||||
{
|
||||
this.matchingTypeDataItem = matchingTypeDataItem;
|
||||
data = field;
|
||||
|
||||
DataName.SetText(field.name);
|
||||
DataValue.SetText(field.value);
|
||||
|
||||
Toggle_Use.onValueChanged.AddListener(OnUseToggleValueChanged);
|
||||
Button_MatchingAddData.onClick.AddListener(OnClickAddDataButton);
|
||||
SetDropDownData(field);
|
||||
|
||||
Button_MatchingAddData.gameObject.SetActive(false);
|
||||
}
|
||||
private void SetDropDownData(Field field)
|
||||
{
|
||||
Dropdown_Type.ClearOptions();
|
||||
var types = Enum.GetNames(typeof(DataType));
|
||||
|
||||
for(int i = 0; i < types.Length; i++)
|
||||
{
|
||||
options.Add(i, types[i]);
|
||||
}
|
||||
Dropdown_Type.AddOptions(options.Values.ToList());
|
||||
Dropdown_Type.onValueChanged.AddListener(OnTypeChanged);
|
||||
|
||||
for (int i = 0; i < options.Count; i++)
|
||||
{
|
||||
if (field.type == options[i])
|
||||
{
|
||||
Dropdown_Type.value = i;
|
||||
}
|
||||
}
|
||||
}
|
||||
private void OnUseToggleValueChanged(bool isOn)
|
||||
{
|
||||
//토글이 꺼졌을 때, 켜졌을 때 동작 필요
|
||||
}
|
||||
private void OnClickAddDataButton()
|
||||
{
|
||||
var item = Instantiate(matchingTypeDataItem, MatchingItemContent);
|
||||
item.SetItemData(data);
|
||||
item.onDestory += OnDestoryAddDataItem;
|
||||
|
||||
SetAddItem();
|
||||
onAddMatchingData?.Invoke();
|
||||
}
|
||||
private void OnDestoryAddDataItem(UI_MatchingTypeDataItem item)
|
||||
{
|
||||
Destroy(item.gameObject);
|
||||
SetRemoveItem();
|
||||
onDestroyMatchingData?.Invoke();
|
||||
}
|
||||
private void OnTypeChanged(int value)
|
||||
{
|
||||
var isActive = options[value] == DataType.Matching.ToString();
|
||||
Button_MatchingAddData.gameObject.SetActive(isActive);
|
||||
}
|
||||
private void SetAddItem()
|
||||
{
|
||||
var height = rectTransform.sizeDelta;
|
||||
height.y += matchingTypeDataItem.rectTransform.rect.height;
|
||||
|
||||
rectTransform.sizeDelta = height;
|
||||
}
|
||||
private void SetRemoveItem()
|
||||
{
|
||||
var height = rectTransform.sizeDelta;
|
||||
height.y -= matchingTypeDataItem.rectTransform.rect.height;
|
||||
|
||||
rectTransform.sizeDelta = height;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: db7eacdda12e2074aa6c7cdf1daf46d1
|
||||
54
Assets/NewStudioJYM/Scripts/UI_LoadAPIDataItem.cs
Normal file
54
Assets/NewStudioJYM/Scripts/UI_LoadAPIDataItem.cs
Normal file
@@ -0,0 +1,54 @@
|
||||
using UnityEngine;
|
||||
using XRLib.UI;
|
||||
using TMPro;
|
||||
using UnityEngine.UI;
|
||||
using System;
|
||||
using System.Text;
|
||||
|
||||
namespace XED
|
||||
{
|
||||
public class UI_LoadAPIDataItem : UIBase
|
||||
{
|
||||
public DataList data;
|
||||
private Button button;
|
||||
private TextMeshProUGUI DataName;
|
||||
|
||||
public Action<DataList> onClickItem;
|
||||
|
||||
public override void AfterAwake()
|
||||
{
|
||||
button = GetComponent<Button>();
|
||||
|
||||
button.onClick.AddListener(OnClickDataItem);
|
||||
}
|
||||
public void SetData(DataList data)
|
||||
{
|
||||
this.data = data;
|
||||
var dataText = GenerateHierarchyText(data);
|
||||
DataName.SetText(dataText);
|
||||
|
||||
AdjustHeightToFitText();
|
||||
}
|
||||
void AdjustHeightToFitText()
|
||||
{
|
||||
float preferredHeight = DataName.preferredHeight;
|
||||
rectTransform.sizeDelta = new Vector2(rectTransform.sizeDelta.x, preferredHeight);
|
||||
}
|
||||
private void OnClickDataItem()
|
||||
{
|
||||
onClickItem?.Invoke(data);
|
||||
}
|
||||
private string GenerateHierarchyText(DataList data)
|
||||
{
|
||||
StringBuilder sb = new StringBuilder();
|
||||
|
||||
sb.AppendLine($"<b>{data.name}</b>");
|
||||
foreach (var field in data.fields)
|
||||
{
|
||||
sb.AppendLine($"\t{field.name} : {field.value}");
|
||||
}
|
||||
|
||||
return sb.ToString();
|
||||
}
|
||||
}
|
||||
}
|
||||
2
Assets/NewStudioJYM/Scripts/UI_LoadAPIDataItem.cs.meta
Normal file
2
Assets/NewStudioJYM/Scripts/UI_LoadAPIDataItem.cs.meta
Normal file
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 83d2016360c025f4a8ce58bef77cc43e
|
||||
54
Assets/NewStudioJYM/Scripts/UI_MatchingTypeDataItem.cs
Normal file
54
Assets/NewStudioJYM/Scripts/UI_MatchingTypeDataItem.cs
Normal file
@@ -0,0 +1,54 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using TMPro;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
using XRLib.UI;
|
||||
|
||||
namespace XED
|
||||
{
|
||||
public enum MatchingDataType
|
||||
{
|
||||
Int,
|
||||
Float,
|
||||
Double,
|
||||
String
|
||||
}
|
||||
public class UI_MatchingTypeDataItem : UIBase
|
||||
{
|
||||
private TextMeshProUGUI OriginValue;
|
||||
private TMP_InputField InputField_Value;
|
||||
private TMP_Dropdown Dropdown_Type;
|
||||
private Button Button_Delete;
|
||||
|
||||
private List<string> options = new List<string>();
|
||||
public Action<UI_MatchingTypeDataItem> onDestory;
|
||||
public void SetItemData(Field field)
|
||||
{
|
||||
OriginValue.SetText(field.value);
|
||||
Button_Delete.onClick.AddListener(OnClickDeleteButton);
|
||||
|
||||
SetDropDownData();
|
||||
}
|
||||
private void OnClickDeleteButton()
|
||||
{
|
||||
onDestory?.Invoke(this);
|
||||
}
|
||||
private void SetDropDownData()
|
||||
{
|
||||
Dropdown_Type.ClearOptions();
|
||||
var types = Enum.GetNames(typeof(MatchingDataType));
|
||||
|
||||
for (int i = 0; i < types.Length; i++)
|
||||
{
|
||||
options.Add(types[i]);
|
||||
}
|
||||
Dropdown_Type.AddOptions(options);
|
||||
Dropdown_Type.onValueChanged.AddListener(OnDataTypeChanged);
|
||||
}
|
||||
private void OnDataTypeChanged(int index)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: bac6ec32ddf18fc418e81eef2c42690f
|
||||
1581
Assets/Resources/Prefabs/UI/PRF_AddOtherDataItem.prefab
Normal file
1581
Assets/Resources/Prefabs/UI/PRF_AddOtherDataItem.prefab
Normal file
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ed353b04ca4062c4ba550704c7c0e2ec
|
||||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
1744
Assets/Resources/Prefabs/UI/PRF_AddOtherDataTypeItem.prefab
Normal file
1744
Assets/Resources/Prefabs/UI/PRF_AddOtherDataTypeItem.prefab
Normal file
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e52b0f3c33e70bf438cd83f1d6cbd540
|
||||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
647
Assets/Resources/Prefabs/UI/PRF_DataSettingItem.prefab
Normal file
647
Assets/Resources/Prefabs/UI/PRF_DataSettingItem.prefab
Normal file
@@ -0,0 +1,647 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!1 &305963814537030929
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 5438403924666744717}
|
||||
- component: {fileID: 5087233702156002110}
|
||||
- component: {fileID: 5305742407226192821}
|
||||
m_Layer: 5
|
||||
m_Name: ClassDataContent
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!224 &5438403924666744717
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 305963814537030929}
|
||||
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: 7629933317122956268}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 1}
|
||||
m_AnchorMax: {x: 0, y: 1}
|
||||
m_AnchoredPosition: {x: 400, y: -50}
|
||||
m_SizeDelta: {x: 800, y: 0}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &5087233702156002110
|
||||
CanvasRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 305963814537030929}
|
||||
m_CullTransparentMesh: 1
|
||||
--- !u!114 &5305742407226192821
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 305963814537030929}
|
||||
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: 0
|
||||
m_ChildForceExpandWidth: 1
|
||||
m_ChildForceExpandHeight: 1
|
||||
m_ChildControlWidth: 0
|
||||
m_ChildControlHeight: 0
|
||||
m_ChildScaleWidth: 0
|
||||
m_ChildScaleHeight: 0
|
||||
m_ReverseArrangement: 0
|
||||
--- !u!1 &3305137939894766795
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 2017409685163567780}
|
||||
- component: {fileID: 6787683556876718946}
|
||||
- component: {fileID: 1639388305249779916}
|
||||
m_Layer: 5
|
||||
m_Name: Text
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!224 &2017409685163567780
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 3305137939894766795}
|
||||
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: 4007638834864656932}
|
||||
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 &6787683556876718946
|
||||
CanvasRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 3305137939894766795}
|
||||
m_CullTransparentMesh: 1
|
||||
--- !u!114 &1639388305249779916
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 3305137939894766795}
|
||||
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: "\u200B"
|
||||
m_isRightToLeft: 0
|
||||
m_fontAsset: {fileID: 11400000, guid: 4f170a218dfffe4489dc7ddd54bc15cf, type: 2}
|
||||
m_sharedMaterial: {fileID: 6975767319296004534, guid: 4f170a218dfffe4489dc7ddd54bc15cf, 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: 30
|
||||
m_fontSizeBase: 30
|
||||
m_fontWeight: 400
|
||||
m_enableAutoSizing: 0
|
||||
m_fontSizeMin: 18
|
||||
m_fontSizeMax: 72
|
||||
m_fontStyle: 0
|
||||
m_HorizontalAlignment: 1
|
||||
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: 3
|
||||
m_wordWrappingRatios: 0.4
|
||||
m_overflowMode: 0
|
||||
m_linkedTextComponent: {fileID: 0}
|
||||
parentLinkedComponent: {fileID: 0}
|
||||
m_enableKerning: 0
|
||||
m_ActiveFontFeatures: 6e72656b
|
||||
m_enableExtraPadding: 1
|
||||
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 &5738967922965606136
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 4007638834864656932}
|
||||
- component: {fileID: 2026707768454986920}
|
||||
m_Layer: 5
|
||||
m_Name: Text Area
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!224 &4007638834864656932
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 5738967922965606136}
|
||||
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: 5811948092181345470}
|
||||
- {fileID: 2017409685163567780}
|
||||
m_Father: {fileID: 6430403368986461819}
|
||||
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.5}
|
||||
m_SizeDelta: {x: -20, y: -13}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!114 &2026707768454986920
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 5738967922965606136}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 3312d7739989d2b4e91e6319e9a96d76, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Padding: {x: -8, y: -5, z: -8, w: -5}
|
||||
m_Softness: {x: 0, y: 0}
|
||||
--- !u!1 &5864396750896146266
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 6430403368986461819}
|
||||
- component: {fileID: 2296893353076614276}
|
||||
- component: {fileID: 9193948918517972035}
|
||||
- component: {fileID: 8432268889668786049}
|
||||
m_Layer: 5
|
||||
m_Name: InputField_ClassName
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!224 &6430403368986461819
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 5864396750896146266}
|
||||
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: 4007638834864656932}
|
||||
m_Father: {fileID: 7629933317122956268}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 1}
|
||||
m_AnchorMax: {x: 0, y: 1}
|
||||
m_AnchoredPosition: {x: 175, y: -25}
|
||||
m_SizeDelta: {x: 350, y: 50}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &2296893353076614276
|
||||
CanvasRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 5864396750896146266}
|
||||
m_CullTransparentMesh: 1
|
||||
--- !u!114 &9193948918517972035
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 5864396750896146266}
|
||||
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: 10911, 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 &8432268889668786049
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 5864396750896146266}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 2da0c512f12947e489f739169773d7ca, 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: 9193948918517972035}
|
||||
m_TextViewport: {fileID: 4007638834864656932}
|
||||
m_TextComponent: {fileID: 1639388305249779916}
|
||||
m_Placeholder: {fileID: 2742843662373471807}
|
||||
m_VerticalScrollbar: {fileID: 0}
|
||||
m_VerticalScrollbarEventHandler: {fileID: 0}
|
||||
m_LayoutGroup: {fileID: 0}
|
||||
m_ScrollSensitivity: 1
|
||||
m_ContentType: 0
|
||||
m_InputType: 0
|
||||
m_AsteriskChar: 42
|
||||
m_KeyboardType: 0
|
||||
m_LineType: 0
|
||||
m_HideMobileInput: 0
|
||||
m_HideSoftKeyboard: 0
|
||||
m_CharacterValidation: 0
|
||||
m_RegexValue:
|
||||
m_GlobalPointSize: 14
|
||||
m_CharacterLimit: 0
|
||||
m_OnEndEdit:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_OnSubmit:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_OnSelect:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_OnDeselect:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_OnTextSelection:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_OnEndTextSelection:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_OnValueChanged:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_OnTouchScreenKeyboardStatusChanged:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_CaretColor: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1}
|
||||
m_CustomCaretColor: 0
|
||||
m_SelectionColor: {r: 0.65882355, g: 0.80784315, b: 1, a: 0.7529412}
|
||||
m_Text:
|
||||
m_CaretBlinkRate: 0.85
|
||||
m_CaretWidth: 1
|
||||
m_ReadOnly: 0
|
||||
m_RichText: 1
|
||||
m_GlobalFontAsset: {fileID: 11400000, guid: 4f170a218dfffe4489dc7ddd54bc15cf, type: 2}
|
||||
m_OnFocusSelectAll: 1
|
||||
m_ResetOnDeActivation: 1
|
||||
m_KeepTextSelectionVisible: 0
|
||||
m_RestoreOriginalTextOnEscape: 1
|
||||
m_isRichTextEditingAllowed: 0
|
||||
m_LineLimit: 0
|
||||
isAlert: 0
|
||||
m_InputValidator: {fileID: 0}
|
||||
m_ShouldActivateOnSelect: 1
|
||||
--- !u!1 &7133528219229746775
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 5811948092181345470}
|
||||
- component: {fileID: 3930530721199202069}
|
||||
- component: {fileID: 2742843662373471807}
|
||||
- component: {fileID: 905156730032413683}
|
||||
m_Layer: 5
|
||||
m_Name: Placeholder
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!224 &5811948092181345470
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 7133528219229746775}
|
||||
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: 4007638834864656932}
|
||||
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 &3930530721199202069
|
||||
CanvasRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 7133528219229746775}
|
||||
m_CullTransparentMesh: 1
|
||||
--- !u!114 &2742843662373471807
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 7133528219229746775}
|
||||
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: Enter Class Name..
|
||||
m_isRightToLeft: 0
|
||||
m_fontAsset: {fileID: 11400000, guid: 4f170a218dfffe4489dc7ddd54bc15cf, type: 2}
|
||||
m_sharedMaterial: {fileID: 6975767319296004534, guid: 4f170a218dfffe4489dc7ddd54bc15cf, type: 2}
|
||||
m_fontSharedMaterials: []
|
||||
m_fontMaterial: {fileID: 0}
|
||||
m_fontMaterials: []
|
||||
m_fontColor32:
|
||||
serializedVersion: 2
|
||||
rgba: 2150773298
|
||||
m_fontColor: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 0.5}
|
||||
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: 30
|
||||
m_fontSizeBase: 30
|
||||
m_fontWeight: 400
|
||||
m_enableAutoSizing: 0
|
||||
m_fontSizeMin: 18
|
||||
m_fontSizeMax: 72
|
||||
m_fontStyle: 0
|
||||
m_HorizontalAlignment: 1
|
||||
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: 0
|
||||
m_wordWrappingRatios: 0.4
|
||||
m_overflowMode: 0
|
||||
m_linkedTextComponent: {fileID: 0}
|
||||
parentLinkedComponent: {fileID: 0}
|
||||
m_enableKerning: 0
|
||||
m_ActiveFontFeatures: 6e72656b
|
||||
m_enableExtraPadding: 1
|
||||
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!114 &905156730032413683
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 7133528219229746775}
|
||||
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 &8957033648089903762
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 7629933317122956268}
|
||||
- component: {fileID: 3283713645539679095}
|
||||
m_Layer: 5
|
||||
m_Name: PRF_DataSettingItem
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!224 &7629933317122956268
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 8957033648089903762}
|
||||
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: 6430403368986461819}
|
||||
- {fileID: 5438403924666744717}
|
||||
m_Father: {fileID: 0}
|
||||
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: 0, y: 0}
|
||||
m_SizeDelta: {x: 760, y: 50}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!114 &3283713645539679095
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 8957033648089903762}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: a946220b8630a2a45880933c6914c9d5, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
InputField_ClassName: {fileID: 0}
|
||||
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 7131c87c44833bb4fa2546709274675c
|
||||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
2211
Assets/Resources/Prefabs/UI/PRF_DataTypeSelectedItem.prefab
Normal file
2211
Assets/Resources/Prefabs/UI/PRF_DataTypeSelectedItem.prefab
Normal file
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 62ba2e406b1ae5b4d942abf41a8d4c81
|
||||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
275
Assets/Resources/Prefabs/UI/PRF_LoadAPIDataItem.prefab
Normal file
275
Assets/Resources/Prefabs/UI/PRF_LoadAPIDataItem.prefab
Normal file
@@ -0,0 +1,275 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!1 &2990739019206911981
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 8981332764973318900}
|
||||
- component: {fileID: 2955722457224665640}
|
||||
- component: {fileID: 658158377057214616}
|
||||
- component: {fileID: 4540787158586730676}
|
||||
- component: {fileID: 7269621428994907548}
|
||||
m_Layer: 5
|
||||
m_Name: PRF_LoadAPIDataItem
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!224 &8981332764973318900
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 2990739019206911981}
|
||||
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: 7755481499999457856}
|
||||
m_Father: {fileID: 0}
|
||||
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: 350, y: 50}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &2955722457224665640
|
||||
CanvasRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 2990739019206911981}
|
||||
m_CullTransparentMesh: 1
|
||||
--- !u!114 &658158377057214616
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 2990739019206911981}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 83d2016360c025f4a8ce58bef77cc43e, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
data:
|
||||
name:
|
||||
fields: []
|
||||
--- !u!114 &4540787158586730676
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 2990739019206911981}
|
||||
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: 0}
|
||||
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 &7269621428994907548
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 2990739019206911981}
|
||||
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: 0}
|
||||
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: 4540787158586730676}
|
||||
m_OnClick:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
--- !u!1 &8158841801418044415
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 7755481499999457856}
|
||||
- component: {fileID: 6644212091389072707}
|
||||
- component: {fileID: 3193560438600896340}
|
||||
m_Layer: 5
|
||||
m_Name: DataName
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!224 &7755481499999457856
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 8158841801418044415}
|
||||
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: 8981332764973318900}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 0}
|
||||
m_AnchorMax: {x: 1, y: 1}
|
||||
m_AnchoredPosition: {x: 2.5, y: 0}
|
||||
m_SizeDelta: {x: -5, y: 0}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &6644212091389072707
|
||||
CanvasRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 8158841801418044415}
|
||||
m_CullTransparentMesh: 1
|
||||
--- !u!114 &3193560438600896340
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 8158841801418044415}
|
||||
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: New Text
|
||||
m_isRightToLeft: 0
|
||||
m_fontAsset: {fileID: 11400000, guid: 4f170a218dfffe4489dc7ddd54bc15cf, type: 2}
|
||||
m_sharedMaterial: {fileID: 6975767319296004534, guid: 4f170a218dfffe4489dc7ddd54bc15cf, type: 2}
|
||||
m_fontSharedMaterials: []
|
||||
m_fontMaterial: {fileID: 0}
|
||||
m_fontMaterials: []
|
||||
m_fontColor32:
|
||||
serializedVersion: 2
|
||||
rgba: 4278190080
|
||||
m_fontColor: {r: 0, g: 0, b: 0, 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: 20
|
||||
m_fontSizeBase: 20
|
||||
m_fontWeight: 400
|
||||
m_enableAutoSizing: 0
|
||||
m_fontSizeMin: 18
|
||||
m_fontSizeMax: 72
|
||||
m_fontStyle: 0
|
||||
m_HorizontalAlignment: 1
|
||||
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}
|
||||
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ba3afa41aba8b634486691fc66a21599
|
||||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
2360
Assets/Resources/Prefabs/UI/PRF_MatchingTypeDataItem.prefab
Normal file
2360
Assets/Resources/Prefabs/UI/PRF_MatchingTypeDataItem.prefab
Normal file
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 6c2cd83ecffa83a4193722cce48dda9a
|
||||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
1847
Assets/Resources/Prefabs/UI/PRF_StorageDataTypeItem.prefab
Normal file
1847
Assets/Resources/Prefabs/UI/PRF_StorageDataTypeItem.prefab
Normal file
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 7001181eb942b1a49878022e35344c81
|
||||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
94
Assets/Resources/Test.json
Normal file
94
Assets/Resources/Test.json
Normal file
@@ -0,0 +1,94 @@
|
||||
{
|
||||
"apiData": [
|
||||
{
|
||||
"name": "API_1",
|
||||
"dataList": [
|
||||
{
|
||||
"name": "User",
|
||||
"fields": [
|
||||
{
|
||||
"name": "data1",
|
||||
"type": "Int",
|
||||
"value": "30"
|
||||
},
|
||||
{
|
||||
"name": "data2",
|
||||
"type": "String",
|
||||
"value": "30"
|
||||
},
|
||||
{
|
||||
"name": "data3",
|
||||
"type": "Float",
|
||||
"value": "30.5"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Product",
|
||||
"fields": [
|
||||
{
|
||||
"name": "data1",
|
||||
"type": "Int",
|
||||
"value": "30"
|
||||
},
|
||||
{
|
||||
"name": "data2",
|
||||
"type": "String",
|
||||
"value": "30"
|
||||
},
|
||||
{
|
||||
"name": "data3",
|
||||
"type": "Float",
|
||||
"value": "30.5"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "API_2",
|
||||
"dataList": [
|
||||
{
|
||||
"name": "User",
|
||||
"fields": [
|
||||
{
|
||||
"name": "data1",
|
||||
"type": "Int",
|
||||
"value": "30"
|
||||
},
|
||||
{
|
||||
"name": "data2",
|
||||
"type": "String",
|
||||
"value": "30"
|
||||
},
|
||||
{
|
||||
"name": "data3",
|
||||
"type": "Float",
|
||||
"value": "30.5"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Product",
|
||||
"fields": [
|
||||
{
|
||||
"name": "data1",
|
||||
"type": "Int",
|
||||
"value": "30"
|
||||
},
|
||||
{
|
||||
"name": "data2",
|
||||
"type": "String",
|
||||
"value": "30"
|
||||
},
|
||||
{
|
||||
"name": "data3",
|
||||
"type": "Float",
|
||||
"value": "30.5"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
7
Assets/Resources/Test.json.meta
Normal file
7
Assets/Resources/Test.json.meta
Normal file
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 4af4d330572ee8745a2f62b8422c6d60
|
||||
TextScriptImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
94
Assets/Resources/Test1.json
Normal file
94
Assets/Resources/Test1.json
Normal file
@@ -0,0 +1,94 @@
|
||||
{
|
||||
"dataStorageData": [
|
||||
{
|
||||
"name": "Storage_1",
|
||||
"dataList": [
|
||||
{
|
||||
"name": "storageData_1",
|
||||
"fields": [
|
||||
{
|
||||
"name": "data1",
|
||||
"type": "Int",
|
||||
"value": "30"
|
||||
},
|
||||
{
|
||||
"name": "data2",
|
||||
"type": "String",
|
||||
"value": "30"
|
||||
},
|
||||
{
|
||||
"name": "data3",
|
||||
"type": "Float",
|
||||
"value": "30.5"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "storageData_2",
|
||||
"fields": [
|
||||
{
|
||||
"name": "data1",
|
||||
"type": "Int",
|
||||
"value": "30"
|
||||
},
|
||||
{
|
||||
"name": "data2",
|
||||
"type": "String",
|
||||
"value": "30"
|
||||
},
|
||||
{
|
||||
"name": "data3",
|
||||
"type": "Float",
|
||||
"value": "30.5"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Storage_2",
|
||||
"dataList": [
|
||||
{
|
||||
"name": "User",
|
||||
"fields": [
|
||||
{
|
||||
"name": "data1",
|
||||
"type": "Int",
|
||||
"value": "30"
|
||||
},
|
||||
{
|
||||
"name": "data2",
|
||||
"type": "String",
|
||||
"value": "30"
|
||||
},
|
||||
{
|
||||
"name": "data3",
|
||||
"type": "Float",
|
||||
"value": "30.5"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Product",
|
||||
"fields": [
|
||||
{
|
||||
"name": "data1",
|
||||
"type": "Int",
|
||||
"value": "30"
|
||||
},
|
||||
{
|
||||
"name": "data2",
|
||||
"type": "String",
|
||||
"value": "30"
|
||||
},
|
||||
{
|
||||
"name": "data3",
|
||||
"type": "Float",
|
||||
"value": "30.5"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
7
Assets/Resources/Test1.json.meta
Normal file
7
Assets/Resources/Test1.json.meta
Normal file
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 8ccff45f9e93c9c4e95656a56ecd481d
|
||||
TextScriptImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
8
Assets/Scenes/JYM.meta
Normal file
8
Assets/Scenes/JYM.meta
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 16e3e2e1dede09641b9533b9844f25f7
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
3384
Assets/Scenes/JYM/Hierarchy.unity
Normal file
3384
Assets/Scenes/JYM/Hierarchy.unity
Normal file
File diff suppressed because it is too large
Load Diff
7
Assets/Scenes/JYM/Hierarchy.unity.meta
Normal file
7
Assets/Scenes/JYM/Hierarchy.unity.meta
Normal file
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 59a7f3dc9c56acb40ae4ed5c4bc9bf7a
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
1063
Assets/Scenes/JYM/Stage.unity
Normal file
1063
Assets/Scenes/JYM/Stage.unity
Normal file
File diff suppressed because it is too large
Load Diff
7
Assets/Scenes/JYM/Stage.unity.meta
Normal file
7
Assets/Scenes/JYM/Stage.unity.meta
Normal file
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 501e018665564d0429da0fe5c7e9077a
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Reference in New Issue
Block a user