인증 모달
This commit is contained in:
@@ -461,10 +461,26 @@ PrefabInstance:
|
|||||||
serializedVersion: 3
|
serializedVersion: 3
|
||||||
m_TransformParent: {fileID: 1391670571}
|
m_TransformParent: {fileID: 1391670571}
|
||||||
m_Modifications:
|
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}
|
- target: {fileID: 253525657185505309, guid: f2aeca4b33a9e7948ab82c4f02cae2f2, type: 3}
|
||||||
propertyPath: m_SizeDelta.y
|
propertyPath: m_SizeDelta.y
|
||||||
value: 0
|
value: 0
|
||||||
objectReference: {fileID: 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}
|
- target: {fileID: 1239730593560251137, guid: f2aeca4b33a9e7948ab82c4f02cae2f2, type: 3}
|
||||||
propertyPath: m_AnchorMax.y
|
propertyPath: m_AnchorMax.y
|
||||||
value: 0
|
value: 0
|
||||||
@@ -485,6 +501,30 @@ PrefabInstance:
|
|||||||
propertyPath: m_AnchoredPosition.y
|
propertyPath: m_AnchoredPosition.y
|
||||||
value: 0
|
value: 0
|
||||||
objectReference: {fileID: 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}
|
- target: {fileID: 2312695739334003167, guid: f2aeca4b33a9e7948ab82c4f02cae2f2, type: 3}
|
||||||
propertyPath: m_AnchorMax.y
|
propertyPath: m_AnchorMax.y
|
||||||
value: 0
|
value: 0
|
||||||
@@ -653,6 +693,70 @@ PrefabInstance:
|
|||||||
propertyPath: m_SizeDelta.y
|
propertyPath: m_SizeDelta.y
|
||||||
value: 0
|
value: 0
|
||||||
objectReference: {fileID: 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}
|
- target: {fileID: 5855980027867806708, guid: f2aeca4b33a9e7948ab82c4f02cae2f2, type: 3}
|
||||||
propertyPath: m_AnchorMax.y
|
propertyPath: m_AnchorMax.y
|
||||||
value: 0
|
value: 0
|
||||||
@@ -673,10 +777,66 @@ PrefabInstance:
|
|||||||
propertyPath: m_AnchoredPosition.y
|
propertyPath: m_AnchoredPosition.y
|
||||||
value: 0
|
value: 0
|
||||||
objectReference: {fileID: 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: 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}
|
- target: {fileID: 7451172879358009799, guid: f2aeca4b33a9e7948ab82c4f02cae2f2, type: 3}
|
||||||
propertyPath: m_Name
|
propertyPath: m_Name
|
||||||
value: Canvas_Static
|
value: Canvas_Static
|
||||||
objectReference: {fileID: 0}
|
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}
|
- target: {fileID: 7944627880090399774, guid: f2aeca4b33a9e7948ab82c4f02cae2f2, type: 3}
|
||||||
propertyPath: m_AnchorMax.y
|
propertyPath: m_AnchorMax.y
|
||||||
value: 0
|
value: 0
|
||||||
@@ -717,6 +877,30 @@ PrefabInstance:
|
|||||||
propertyPath: m_AnchoredPosition.y
|
propertyPath: m_AnchoredPosition.y
|
||||||
value: 0
|
value: 0
|
||||||
objectReference: {fileID: 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}
|
- target: {fileID: 9162147835510035703, guid: f2aeca4b33a9e7948ab82c4f02cae2f2, type: 3}
|
||||||
propertyPath: m_AnchorMax.y
|
propertyPath: m_AnchorMax.y
|
||||||
value: 0
|
value: 0
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,33 @@
|
|||||||
|
using System.Collections.Generic;
|
||||||
|
using TMPro;
|
||||||
|
using UnityEngine;
|
||||||
|
using UnityEngine.UI;
|
||||||
|
using XRLib.UI;
|
||||||
|
|
||||||
|
namespace XED.UI
|
||||||
|
{
|
||||||
|
public class UI_AuthenticationItem : UIBase
|
||||||
|
{
|
||||||
|
public TMP_InputField InputField;
|
||||||
|
public TMP_Dropdown Dropdown;
|
||||||
|
public Button Button_Remove;
|
||||||
|
|
||||||
|
private void Awake()
|
||||||
|
{
|
||||||
|
InputField = transform.Find(nameof(InputField)).GetComponent<TMP_InputField>();
|
||||||
|
Dropdown = transform.Find (nameof(Dropdown)).GetComponent<TMP_Dropdown>();
|
||||||
|
Button_Remove = transform.Find(nameof(Button_Remove)).GetComponent<Button>();
|
||||||
|
Button_Remove.onClick.AddListener(OnClickRemove);
|
||||||
|
|
||||||
|
List<string> options = new List<string> { "String", "Int", "Boolean" };
|
||||||
|
Dropdown.ClearOptions();
|
||||||
|
Dropdown.AddOptions(options);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void OnClickRemove()
|
||||||
|
{
|
||||||
|
print("remove");
|
||||||
|
Destroy(gameObject);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 972a710d67574c74f8adf612eeb0cbe8
|
||||||
@@ -1,10 +1,39 @@
|
|||||||
|
using Ookii.Dialogs;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
using UnityEngine.UI;
|
||||||
using XRLib.UI;
|
using XRLib.UI;
|
||||||
|
|
||||||
namespace XED.UI
|
namespace XED.UI
|
||||||
{
|
{
|
||||||
public class Panel_Authentication : PanelBase
|
public class Panel_Authentication : PanelBase
|
||||||
{
|
{
|
||||||
|
private GameObject itemPrefab;
|
||||||
|
private RectTransform Info;
|
||||||
|
|
||||||
|
public Button Button_Add;
|
||||||
|
public Button Button_Save;
|
||||||
|
|
||||||
|
public override void AfterAwake()
|
||||||
|
{
|
||||||
|
itemPrefab = Resources.Load<GameObject>("Prefabs/UI/PRF_AuthenticationItem");
|
||||||
|
|
||||||
|
Button_Add.onClick.AddListener(AddItem);
|
||||||
|
Button_Save.onClick.AddListener(OnClickSave);
|
||||||
|
|
||||||
|
AddItem();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void AddItem()
|
||||||
|
{
|
||||||
|
GameObject item = Instantiate(itemPrefab, Info);
|
||||||
|
item.transform.SetSiblingIndex(Info.childCount - 2);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void OnClickSave()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
public void Open(bool isOpen)
|
public void Open(bool isOpen)
|
||||||
{
|
{
|
||||||
SetActive(isOpen);
|
SetActive(isOpen);
|
||||||
|
|||||||
1778
Assets/Resources/Prefabs/UI/PRF_AuthenticationItem.prefab
Normal file
1778
Assets/Resources/Prefabs/UI/PRF_AuthenticationItem.prefab
Normal file
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: b0a8a51f236c8764e8d3b9239b291e85
|
||||||
|
PrefabImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
Reference in New Issue
Block a user