시작화면 #59

Merged
UVCXR merged 2 commits from pgd/20250507 into main 2025-05-07 16:41:43 +09:00
27 changed files with 5035 additions and 190 deletions

View File

@@ -245,6 +245,11 @@ RectTransform:
m_CorrespondingSourceObject: {fileID: 3552315189416210175, guid: f2aeca4b33a9e7948ab82c4f02cae2f2, type: 3}
m_PrefabInstance: {fileID: 1887807626}
m_PrefabAsset: {fileID: 0}
--- !u!224 &355386520 stripped
RectTransform:
m_CorrespondingSourceObject: {fileID: 7792190748593936658, guid: 23a5b62354b63214e81741610e6e66e2, type: 3}
m_PrefabInstance: {fileID: 2258882046505576748}
m_PrefabAsset: {fileID: 0}
--- !u!1 &961739749
GameObject:
m_ObjectHideFlags: 0
@@ -445,6 +450,7 @@ Transform:
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 311848408}
- {fileID: 355386520}
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1001 &1887807626
@@ -455,26 +461,10 @@ PrefabInstance:
serializedVersion: 3
m_TransformParent: {fileID: 1391670571}
m_Modifications:
- target: {fileID: 33618481716284773, guid: f2aeca4b33a9e7948ab82c4f02cae2f2, type: 3}
propertyPath: m_SizeDelta.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 33618481716284773, guid: f2aeca4b33a9e7948ab82c4f02cae2f2, type: 3}
propertyPath: m_SizeDelta.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 253525657185505309, guid: f2aeca4b33a9e7948ab82c4f02cae2f2, type: 3}
propertyPath: m_SizeDelta.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1153369147874533442, guid: f2aeca4b33a9e7948ab82c4f02cae2f2, type: 3}
propertyPath: m_SizeDelta.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1153369147874533442, guid: f2aeca4b33a9e7948ab82c4f02cae2f2, type: 3}
propertyPath: m_SizeDelta.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1239730593560251137, guid: f2aeca4b33a9e7948ab82c4f02cae2f2, type: 3}
propertyPath: m_AnchorMax.y
value: 0
@@ -495,30 +485,6 @@ PrefabInstance:
propertyPath: m_AnchoredPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1691782430627992905, guid: f2aeca4b33a9e7948ab82c4f02cae2f2, type: 3}
propertyPath: m_SizeDelta.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1691782430627992905, guid: f2aeca4b33a9e7948ab82c4f02cae2f2, type: 3}
propertyPath: m_SizeDelta.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1825228173600331801, guid: f2aeca4b33a9e7948ab82c4f02cae2f2, type: 3}
propertyPath: m_SizeDelta.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1825228173600331801, guid: f2aeca4b33a9e7948ab82c4f02cae2f2, type: 3}
propertyPath: m_SizeDelta.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2213964652112507817, guid: f2aeca4b33a9e7948ab82c4f02cae2f2, type: 3}
propertyPath: m_SizeDelta.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2213964652112507817, guid: f2aeca4b33a9e7948ab82c4f02cae2f2, type: 3}
propertyPath: m_SizeDelta.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2312695739334003167, guid: f2aeca4b33a9e7948ab82c4f02cae2f2, type: 3}
propertyPath: m_AnchorMax.y
value: 0
@@ -687,70 +653,6 @@ PrefabInstance:
propertyPath: m_SizeDelta.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4437080161808151079, guid: f2aeca4b33a9e7948ab82c4f02cae2f2, type: 3}
propertyPath: m_SizeDelta.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4437080161808151079, guid: f2aeca4b33a9e7948ab82c4f02cae2f2, type: 3}
propertyPath: m_SizeDelta.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4591461869413822655, guid: f2aeca4b33a9e7948ab82c4f02cae2f2, type: 3}
propertyPath: m_AnchorMax.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4591461869413822655, guid: f2aeca4b33a9e7948ab82c4f02cae2f2, type: 3}
propertyPath: m_AnchorMin.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4591461869413822655, guid: f2aeca4b33a9e7948ab82c4f02cae2f2, type: 3}
propertyPath: m_AnchoredPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4591461869413822655, guid: f2aeca4b33a9e7948ab82c4f02cae2f2, type: 3}
propertyPath: m_AnchoredPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4794470558021987755, guid: f2aeca4b33a9e7948ab82c4f02cae2f2, type: 3}
propertyPath: m_SizeDelta.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4794470558021987755, guid: f2aeca4b33a9e7948ab82c4f02cae2f2, type: 3}
propertyPath: m_SizeDelta.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5650599152789473505, guid: f2aeca4b33a9e7948ab82c4f02cae2f2, type: 3}
propertyPath: m_SizeDelta.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5650599152789473505, guid: f2aeca4b33a9e7948ab82c4f02cae2f2, type: 3}
propertyPath: m_SizeDelta.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5683164843451441641, guid: f2aeca4b33a9e7948ab82c4f02cae2f2, type: 3}
propertyPath: m_SizeDelta.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5683164843451441641, guid: f2aeca4b33a9e7948ab82c4f02cae2f2, type: 3}
propertyPath: m_SizeDelta.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5717488056045474029, guid: f2aeca4b33a9e7948ab82c4f02cae2f2, type: 3}
propertyPath: m_AnchorMax.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5717488056045474029, guid: f2aeca4b33a9e7948ab82c4f02cae2f2, type: 3}
propertyPath: m_AnchorMin.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5717488056045474029, guid: f2aeca4b33a9e7948ab82c4f02cae2f2, type: 3}
propertyPath: m_AnchoredPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5717488056045474029, guid: f2aeca4b33a9e7948ab82c4f02cae2f2, type: 3}
propertyPath: m_AnchoredPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5855980027867806708, guid: f2aeca4b33a9e7948ab82c4f02cae2f2, type: 3}
propertyPath: m_AnchorMax.y
value: 0
@@ -771,70 +673,10 @@ PrefabInstance:
propertyPath: m_AnchoredPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6282185071082045389, guid: f2aeca4b33a9e7948ab82c4f02cae2f2, type: 3}
propertyPath: m_SizeDelta.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6282185071082045389, guid: f2aeca4b33a9e7948ab82c4f02cae2f2, type: 3}
propertyPath: m_SizeDelta.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6569870049819824424, guid: f2aeca4b33a9e7948ab82c4f02cae2f2, type: 3}
propertyPath: m_Name
value: Panel_Topbar
objectReference: {fileID: 0}
- target: {fileID: 6671935539452673310, guid: f2aeca4b33a9e7948ab82c4f02cae2f2, type: 3}
propertyPath: m_SizeDelta.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6671935539452673310, guid: f2aeca4b33a9e7948ab82c4f02cae2f2, type: 3}
propertyPath: m_SizeDelta.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7028250643155768423, guid: f2aeca4b33a9e7948ab82c4f02cae2f2, type: 3}
propertyPath: m_AnchorMax.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7028250643155768423, guid: f2aeca4b33a9e7948ab82c4f02cae2f2, type: 3}
propertyPath: m_AnchorMin.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7028250643155768423, guid: f2aeca4b33a9e7948ab82c4f02cae2f2, type: 3}
propertyPath: m_AnchoredPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7028250643155768423, guid: f2aeca4b33a9e7948ab82c4f02cae2f2, type: 3}
propertyPath: m_AnchoredPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7210417893612619965, guid: f2aeca4b33a9e7948ab82c4f02cae2f2, type: 3}
propertyPath: m_SizeDelta.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7210417893612619965, guid: f2aeca4b33a9e7948ab82c4f02cae2f2, type: 3}
propertyPath: m_SizeDelta.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7451172879358009799, guid: f2aeca4b33a9e7948ab82c4f02cae2f2, type: 3}
propertyPath: m_Name
value: Canvas_Static
objectReference: {fileID: 0}
- target: {fileID: 7733657623681476234, guid: f2aeca4b33a9e7948ab82c4f02cae2f2, type: 3}
propertyPath: m_SizeDelta.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7733657623681476234, guid: f2aeca4b33a9e7948ab82c4f02cae2f2, type: 3}
propertyPath: m_SizeDelta.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7895292253619185725, guid: f2aeca4b33a9e7948ab82c4f02cae2f2, type: 3}
propertyPath: m_SizeDelta.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7895292253619185725, guid: f2aeca4b33a9e7948ab82c4f02cae2f2, type: 3}
propertyPath: m_SizeDelta.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7944627880090399774, guid: f2aeca4b33a9e7948ab82c4f02cae2f2, type: 3}
propertyPath: m_AnchorMax.y
value: 0
@@ -875,30 +717,6 @@ PrefabInstance:
propertyPath: m_AnchoredPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8129927793086748103, guid: f2aeca4b33a9e7948ab82c4f02cae2f2, type: 3}
propertyPath: m_SizeDelta.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8129927793086748103, guid: f2aeca4b33a9e7948ab82c4f02cae2f2, type: 3}
propertyPath: m_SizeDelta.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8360194558917690726, guid: f2aeca4b33a9e7948ab82c4f02cae2f2, type: 3}
propertyPath: m_SizeDelta.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8360194558917690726, guid: f2aeca4b33a9e7948ab82c4f02cae2f2, type: 3}
propertyPath: m_SizeDelta.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8877690206430437429, guid: f2aeca4b33a9e7948ab82c4f02cae2f2, type: 3}
propertyPath: m_SizeDelta.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8877690206430437429, guid: f2aeca4b33a9e7948ab82c4f02cae2f2, type: 3}
propertyPath: m_SizeDelta.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 9162147835510035703, guid: f2aeca4b33a9e7948ab82c4f02cae2f2, type: 3}
propertyPath: m_AnchorMax.y
value: 0
@@ -1038,6 +856,103 @@ MonoBehaviour:
m_EditorClassIdentifier:
targets: []
baseUIs: []
--- !u!1001 &2258882046505576748
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
serializedVersion: 3
m_TransformParent: {fileID: 1391670571}
m_Modifications:
- target: {fileID: 452827164730347798, guid: 23a5b62354b63214e81741610e6e66e2, type: 3}
propertyPath: m_Name
value: Canvas_Popup
objectReference: {fileID: 0}
- target: {fileID: 7792190748593936658, guid: 23a5b62354b63214e81741610e6e66e2, type: 3}
propertyPath: m_Pivot.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7792190748593936658, guid: 23a5b62354b63214e81741610e6e66e2, type: 3}
propertyPath: m_Pivot.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7792190748593936658, guid: 23a5b62354b63214e81741610e6e66e2, type: 3}
propertyPath: m_AnchorMax.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7792190748593936658, guid: 23a5b62354b63214e81741610e6e66e2, type: 3}
propertyPath: m_AnchorMax.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7792190748593936658, guid: 23a5b62354b63214e81741610e6e66e2, type: 3}
propertyPath: m_AnchorMin.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7792190748593936658, guid: 23a5b62354b63214e81741610e6e66e2, type: 3}
propertyPath: m_AnchorMin.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7792190748593936658, guid: 23a5b62354b63214e81741610e6e66e2, type: 3}
propertyPath: m_SizeDelta.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7792190748593936658, guid: 23a5b62354b63214e81741610e6e66e2, type: 3}
propertyPath: m_SizeDelta.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7792190748593936658, guid: 23a5b62354b63214e81741610e6e66e2, type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7792190748593936658, guid: 23a5b62354b63214e81741610e6e66e2, type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7792190748593936658, guid: 23a5b62354b63214e81741610e6e66e2, type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7792190748593936658, guid: 23a5b62354b63214e81741610e6e66e2, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 7792190748593936658, guid: 23a5b62354b63214e81741610e6e66e2, type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7792190748593936658, guid: 23a5b62354b63214e81741610e6e66e2, type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7792190748593936658, guid: 23a5b62354b63214e81741610e6e66e2, type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7792190748593936658, guid: 23a5b62354b63214e81741610e6e66e2, type: 3}
propertyPath: m_AnchoredPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7792190748593936658, guid: 23a5b62354b63214e81741610e6e66e2, type: 3}
propertyPath: m_AnchoredPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7792190748593936658, guid: 23a5b62354b63214e81741610e6e66e2, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7792190748593936658, guid: 23a5b62354b63214e81741610e6e66e2, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7792190748593936658, guid: 23a5b62354b63214e81741610e6e66e2, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
m_AddedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 23a5b62354b63214e81741610e6e66e2, type: 3}
--- !u!1660057539 &9223372036854775807
SceneRoots:
m_ObjectHideFlags: 0

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 23a5b62354b63214e81741610e6e66e2
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -5051,7 +5051,7 @@ Canvas:
m_AdditionalShaderChannelsFlag: 25
m_UpdateRectTransformForStandalone: 0
m_SortingLayerID: 0
m_SortingOrder: 0
m_SortingOrder: 1
m_TargetDisplay: 0
--- !u!114 &4005249032338589597
MonoBehaviour:
@@ -5105,7 +5105,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 7b45b7347fd0fe24f80dc309e5f1917a, type: 3}
m_Name:
m_EditorClassIdentifier:
panel_topbar: {fileID: 0}
studiopanel_topbar: {fileID: 0}
--- !u!1 &7727454176257356291
GameObject:
m_ObjectHideFlags: 0

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 474df4a4abb15124fad7ca53534b2ffc
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,18 @@
namespace XED.Manage
{
public class StudioPopupCanvasHandler : CanvasEventHandler
{
public StudioPopupCanvasHandler(StudioCanvas_Popup canvas_popup)
{
canvas_popup.panel_selectlogic.onClickAppSetting += canvas_popup.panel_applogiclist.OnSelectLogic;
canvas_popup.panel_selectlogic.onClickAuthentication += canvas_popup.panel_applogiclist.OnSelectLogic;
canvas_popup.panel_selectlogic.onClickLanguage += canvas_popup.panel_applogiclist.OnSelectLogic;
canvas_popup.panel_selectlogic.onClickLogging += canvas_popup.panel_applogiclist.OnSelectLogic;
canvas_popup.panel_selectlogic.onClickAPIConnection += canvas_popup.panel_applogiclist.OnSelectLogic;
canvas_popup.panel_selectlogic.onClickMQTTConnection += canvas_popup.panel_applogiclist.OnSelectLogic;
canvas_popup.panel_selectlogic.onClickCreate3DObject += canvas_popup.panel_applogiclist.OnSelectLogic;
canvas_popup.panel_selectlogic.onClickCreateUI += canvas_popup.panel_applogiclist.OnSelectLogic;
}
}
}

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: e53080ee638fbac49a75cb27bf53baf1

View File

@@ -0,0 +1,20 @@
using UnityEngine;
using XED.Manage;
using XED.UI;
using XRLib.UI;
namespace XED
{
public class StudioCanvas_Popup : CanvasBase
{
public Panel_AppLogicList panel_applogiclist;
public Panel_SelectLogic panel_selectlogic;
public Panel_AppSetting panel_appsetting;
public Panel_Authentication panel_authentication;
private void Awake()
{
canvasHandler = new StudioPopupCanvasHandler(this);
}
}
}

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 962441d825727c54b92657b0c4e5fc72

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: e302619c0636cb24c99e8052db74db52
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,63 @@
using System;
using TMPro;
using UnityEngine;
using UnityEngine.UI;
using XRLib.UI;
namespace XED.UI
{
public class UI_LogicItem : UIBase
{
public Button Button_Edit;
public Button Button_Remove;
public Button Button_Add;
public TextMeshProUGUI Text_Title;
public Action<UI_LogicItem> onClickAdd;
public Action<ELogic> onClickEdit;
public Action<UI_LogicItem> onClickRemove;
private ELogic currentLogic;
public void Awake()
{
Button_Edit = transform.Find(nameof(Button_Edit)).GetComponent<Button>();
Button_Remove = transform.Find(nameof(Button_Remove)).GetComponent<Button>();
Button_Add = transform.Find(nameof(Button_Add)).GetComponent<Button>();
Text_Title = transform.Find(nameof(Text_Title)).GetComponent<TextMeshProUGUI>();
Button_Edit.onClick.AddListener(OnClickEdit);
Button_Remove.onClick.AddListener(OnClickRemove);
Button_Add.onClick.AddListener(OnClickAdd);
Button_Edit.gameObject.SetActive(false);
Button_Remove.gameObject.SetActive(false);
}
private void OnClickEdit()
{
onClickEdit?.Invoke(currentLogic);
}
private void OnClickRemove()
{
onClickRemove?.Invoke(this);
}
private void OnClickAdd()
{
onClickAdd?.Invoke(this);
}
public void OnSelectLogic(ELogic logic)
{
currentLogic = logic;
Text_Title.text = logic.GetDescription();
Button_Add.gameObject.SetActive(false);
Button_Edit.gameObject.SetActive(true);
Button_Remove.gameObject.SetActive(true);
Text_Title.gameObject.SetActive(true);
}
}
}

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 2004e1ed528dd79428503210325c9aa0

View File

@@ -0,0 +1,102 @@
using NUnit.Framework;
using Ookii.Dialogs;
using System.Collections.Generic;
using System.Reflection;
using UnityEditor.UIElements;
using UnityEngine;
using XED.Manage;
using XRLib.UI;
using static UnityEngine.Rendering.DebugUI;
namespace XED.UI
{
public class Panel_AppLogicList : PanelBase
{
private List<UI_LogicItem> itemList = new();
public GameObject logicItem;
public RectTransform itemRoot;
public UI_LogicItem selectItem;
public GameObject curInspectorPanel;
public override void AfterAwake()
{
logicItem = Resources.Load<GameObject>("Prefabs/UI/PRF_LogicItem");
CreateItem();
}
private void CreateItem()
{
UI_LogicItem item = Instantiate(logicItem, itemRoot).GetComponent<UI_LogicItem>();
item.onClickAdd += OnClickAdd;
item.onClickEdit += OnClickEdit;
item.onClickRemove += OnClickRemove;
itemList.Add(item);
}
private void OnClickAdd(UI_LogicItem item)
{
selectItem = item;
EventConnector.instance.GetCanvas<StudioCanvas_Popup>().panel_selectlogic.Open(true);
}
private void OnClickEdit(ELogic logic)
{
if (curInspectorPanel != null)
{
curInspectorPanel.gameObject.SetActive(false);
curInspectorPanel = null;
}
switch (logic)
{
case ELogic.AppSetting:
curInspectorPanel = EventConnector.instance.GetCanvas<StudioCanvas_Popup>().panel_appsetting.gameObject;
break;
case ELogic.Authentication:
curInspectorPanel = EventConnector.instance.GetCanvas<StudioCanvas_Popup>().panel_authentication.gameObject;
break;
case ELogic.Language:
break;
case ELogic.Logging:
break;
case ELogic.APIConnection:
break;
case ELogic.MQTTConnection:
break;
case ELogic.Create3DObject:
break;
case ELogic.CreateUI:
break;
default:
break;
}
if (curInspectorPanel != null)
curInspectorPanel.gameObject.SetActive(true);
}
private void OnClickRemove(UI_LogicItem item)
{
itemList.Remove(item);
Destroy(item.gameObject);
if(selectItem == item)
{
selectItem = null;
if (curInspectorPanel != null)
curInspectorPanel.gameObject.SetActive(false);
}
if (itemList.Count == 0)
CreateItem();
}
public void OnSelectLogic(ELogic logic)
{
selectItem.OnSelectLogic(logic);
CreateItem();
EventConnector.instance.GetCanvas<StudioCanvas_Popup>().panel_selectlogic.Open(false);
}
}
}

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 046f1781b15f8e5488ff7d69458b910b

View File

@@ -0,0 +1,13 @@
using UnityEngine;
using XRLib.UI;
namespace XED.UI
{
public class Panel_AppSetting : PanelBase
{
public void Open(bool isOpen)
{
SetActive(isOpen);
}
}
}

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 23dd749ccecbdb84ba80499b04cb5082

View File

@@ -0,0 +1,13 @@
using UnityEngine;
using XRLib.UI;
namespace XED.UI
{
public class Panel_Authentication : PanelBase
{
public void Open(bool isOpen)
{
SetActive(isOpen);
}
}
}

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 0357488cd0c62c94d975970a56f1c0b7

View File

@@ -0,0 +1,119 @@
using System;
using System.ComponentModel;
using System.Security.Cryptography;
using UnityEngine;
using UnityEngine.UI;
using XRLib.UI;
namespace XED.UI
{
public class Panel_SelectLogic : PanelBase
{
public Button Button_AppSetting;
public Button Button_Authentication;
public Button Button_Language;
public Button Button_Logging;
public Button Button_APIConnection;
public Button Button_MQTTConnection;
public Button Button_Create3DObject;
public Button Button_CreateUI;
public Button Button_Close;
public Action<ELogic> onClickAppSetting;
public Action<ELogic> onClickAuthentication;
public Action<ELogic> onClickLanguage;
public Action<ELogic> onClickLogging;
public Action<ELogic> onClickAPIConnection;
public Action<ELogic> onClickMQTTConnection;
public Action<ELogic> onClickCreate3DObject;
public Action<ELogic> onClickCreateUI;
public override async void AfterAwake()
{
Button_AppSetting.onClick.AddListener(OnClickAppSetting);
Button_Authentication.onClick.AddListener(OnClickAuthentication);
Button_Language.onClick.AddListener(OnClickLanguage);
Button_Logging.onClick.AddListener(OnClickLogging);
Button_APIConnection.onClick.AddListener(OnClickAPIConnection);
Button_MQTTConnection.onClick.AddListener(OnClickMQTTConnection);
Button_Create3DObject.onClick.AddListener(OnClickCreate3DObject);
Button_CreateUI.onClick.AddListener(OnClickCreateUI);
Button_Close.onClick.AddListener(() => Open(false));
}
public void Open(bool isOpen)
{
SetActive(isOpen);
}
public void OnClickAppSetting()
{
onClickAppSetting?.Invoke(ELogic.AppSetting);
}
public void OnClickAuthentication()
{
onClickAuthentication?.Invoke(ELogic.Authentication);
}
public void OnClickLanguage()
{
onClickLanguage?.Invoke(ELogic.Language);
}
public void OnClickLogging()
{
onClickLogging?.Invoke(ELogic.Logging);
}
public void OnClickAPIConnection()
{
onClickAPIConnection?.Invoke(ELogic.APIConnection);
}
public void OnClickMQTTConnection()
{
onClickMQTTConnection?.Invoke(ELogic.MQTTConnection);
}
public void OnClickCreate3DObject()
{
onClickCreate3DObject?.Invoke(ELogic.Create3DObject);
}
public void OnClickCreateUI()
{
onClickCreateUI?.Invoke(ELogic.CreateUI);
}
}
public enum ELogic
{
[Description("App 설정")]
AppSetting,
[Description("인증")]
Authentication,
[Description("다국어")]
Language,
[Description("로깅")]
Logging,
[Description("API 연결")]
APIConnection,
[Description("MQTT 연결")]
MQTTConnection,
[Description("3D 객체 생성")]
Create3DObject,
[Description("UI 생성")]
CreateUI
}
}

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 7b75b0c147e31664fbde00c4ada8826e

View File

@@ -0,0 +1,17 @@
using UnityEngine;
using UnityEngine.UI;
using XRLib.UI;
namespace XED.UI
{
public class Panel_StartImage : PanelBase
{
public RawImage image;
public Button Button_Open;
public override void AfterAwake()
{
}
}
}

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 946307f17551bea41a53e238e2832384

View File

@@ -0,0 +1,609 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &1720353364230342357
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 4090805544080270266}
- component: {fileID: 886935042712110666}
- component: {fileID: 5533299443605608214}
- component: {fileID: 6096911054448982386}
m_Layer: 5
m_Name: Text_Title
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 0
--- !u!224 &4090805544080270266
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1720353364230342357}
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: 1534490013797039533}
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: 0, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &886935042712110666
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1720353364230342357}
m_CullTransparentMesh: 1
--- !u!114 &5533299443605608214
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1720353364230342357}
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:
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: 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!114 &6096911054448982386
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1720353364230342357}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 3245ec927659c4140ac4f8d17403cc18, type: 3}
m_Name:
m_EditorClassIdentifier:
m_HorizontalFit: 2
m_VerticalFit: 2
--- !u!1 &5677235846037891328
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 5305697546301696436}
- component: {fileID: 4507539384032852488}
- component: {fileID: 5856588964198465527}
- component: {fileID: 8584054850497222846}
m_Layer: 5
m_Name: Button_Edit
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &5305697546301696436
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5677235846037891328}
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: 1534490013797039533}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 1, y: 1}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: -33, y: -3}
m_SizeDelta: {x: 21, y: 20}
m_Pivot: {x: 1, y: 1}
--- !u!222 &4507539384032852488
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5677235846037891328}
m_CullTransparentMesh: 1
--- !u!114 &5856588964198465527
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5677235846037891328}
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, 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: 21300000, guid: d9c3ce86afe35dd4cb4ea571086b9242, 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 &8584054850497222846
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5677235846037891328}
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: 5856588964198465527}
m_OnClick:
m_PersistentCalls:
m_Calls: []
--- !u!1 &6762886876741258444
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 4859153878027940557}
- component: {fileID: 93729820696966159}
- component: {fileID: 4692864388924072703}
- component: {fileID: 2790576917448140479}
m_Layer: 5
m_Name: Button_Add
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &4859153878027940557
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6762886876741258444}
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: 1534490013797039533}
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: 30, y: 30}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &93729820696966159
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6762886876741258444}
m_CullTransparentMesh: 1
--- !u!114 &4692864388924072703
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6762886876741258444}
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, 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: 21300002, guid: 66995b6b61aed864daa956ae255d7fee, 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 &2790576917448140479
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6762886876741258444}
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: 4692864388924072703}
m_OnClick:
m_PersistentCalls:
m_Calls: []
--- !u!1 &7439880405082092248
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 2170713894628723036}
- component: {fileID: 6908833968458607285}
- component: {fileID: 2826130932990280142}
- component: {fileID: 8811356005511090532}
m_Layer: 5
m_Name: Button_Remove
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &2170713894628723036
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7439880405082092248}
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: 1534490013797039533}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 1, y: 1}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: -6, y: -3}
m_SizeDelta: {x: 18, y: 18}
m_Pivot: {x: 1, y: 1}
--- !u!222 &6908833968458607285
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7439880405082092248}
m_CullTransparentMesh: 1
--- !u!114 &2826130932990280142
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7439880405082092248}
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, 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: 21300002, guid: 88dca061d041a2a4596563e6a38f66c8, 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 &8811356005511090532
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7439880405082092248}
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: 2826130932990280142}
m_OnClick:
m_PersistentCalls:
m_Calls: []
--- !u!1 &8617239963832020540
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1534490013797039533}
- component: {fileID: 6063155081041630170}
- component: {fileID: 6791740996602818243}
- component: {fileID: 3862169789950439964}
m_Layer: 5
m_Name: PRF_LogicItem
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &1534490013797039533
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8617239963832020540}
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: 5305697546301696436}
- {fileID: 2170713894628723036}
- {fileID: 4859153878027940557}
- {fileID: 4090805544080270266}
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: 160, y: 130}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &6063155081041630170
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8617239963832020540}
m_CullTransparentMesh: 1
--- !u!114 &6791740996602818243
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8617239963832020540}
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.4219918, g: 0.4389014, b: 0.8207547, 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: f03871f0457b28941864ab61d945cf0d, 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 &3862169789950439964
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8617239963832020540}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 2004e1ed528dd79428503210325c9aa0, type: 3}
m_Name:
m_EditorClassIdentifier:
Button_Edit: {fileID: 0}
Button_Remove: {fileID: 0}
Button_Add: {fileID: 0}
text_title: {fileID: 0}

View File

@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 69dc107470a53be4d8643c507acd2d2c
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,18 @@
using System;
using System.ComponentModel;
using System.Reflection;
namespace XED
{
public static class EnumUtil
{
public static string GetDescription(this Enum value)
{
var field = value.GetType().GetField(value.ToString());
if (field == null) return value.ToString();
var attr = field.GetCustomAttribute<DescriptionAttribute>();
return attr?.Description ?? value.ToString();
}
}
}

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 4ace77c27b8e7e442a34c8f739895e56