This commit is contained in:
wsh
2025-02-24 09:32:17 +09:00
parent e1f1ef928c
commit b777bdfa6e
4 changed files with 23 additions and 2 deletions

View File

@@ -19,7 +19,7 @@ namespace XED.UI
private void OnClickPropertyMode() private void OnClickPropertyMode()
{ {
onClickPropertyMode(); //onClickPropertyMode();
} }
private void OnClickObjectMode() private void OnClickObjectMode()

View File

@@ -12333,6 +12333,7 @@ GameObject:
- component: {fileID: 1267680411} - component: {fileID: 1267680411}
- component: {fileID: 1267680413} - component: {fileID: 1267680413}
- component: {fileID: 1267680414} - component: {fileID: 1267680414}
- component: {fileID: 1267680415}
m_Layer: 5 m_Layer: 5
m_Name: Panel_ModeControl m_Name: Panel_ModeControl
m_TagString: Untagged m_TagString: Untagged
@@ -12437,6 +12438,19 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 924ac0c6c9fadc24bbb821b72f962fdf, type: 3} m_Script: {fileID: 11500000, guid: 924ac0c6c9fadc24bbb821b72f962fdf, type: 3}
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
--- !u!114 &1267680415
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1267680409}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 35fe4850c9019874c922a82f247cf00e, type: 3}
m_Name:
m_EditorClassIdentifier:
cloneAlpha: 0.5
--- !u!1001 &1282805259 --- !u!1001 &1282805259
PrefabInstance: PrefabInstance:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0

View File

@@ -40,7 +40,8 @@ namespace XED.UI
} }
public virtual void OnEndDrag(PointerEventData eventData) public virtual void OnEndDrag(PointerEventData eventData)
{ {
Destroy(Clone); gameObject.transform.position = Clone.transform.position;
Destroy(Clone.gameObject);
} }
public virtual void OnDrop(PointerEventData eventData) public virtual void OnDrop(PointerEventData eventData)

View File

@@ -1,3 +1,9 @@
### 0.20.3 02-24
```
1. UI_DragDrop 의 미리보기 클론이 정상적으로 삭제되지 않던 버그 수정
2. UI_DragDrop 기능 중 드래그 종료시 원본이 이동하지 않던 버그 수정
```
### 0.20.1 02-21 ### 0.20.1 02-21
``` ```
1. Panel_ModeControl 추가하여 각 주요 기능 별 모드 진입점 확보 1. Panel_ModeControl 추가하여 각 주요 기능 별 모드 진입점 확보