2025-09-26 18:08:07 +09:00
|
|
|
#nullable enable
|
|
|
|
|
using Gpm.Ui;
|
|
|
|
|
using System;
|
|
|
|
|
|
|
|
|
|
namespace UVC.UI.List
|
|
|
|
|
{
|
|
|
|
|
public class PrefabGridItemData : InfiniteScrollData
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
public string Id = string.Empty;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 설명
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string ItemName = string.Empty;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 이미지 프리팹 경로
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string ImagePrefabPath = string.Empty;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 객체 프리팹 경로
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string ObjectPrefabPath = string.Empty;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 클릭 시 호출될 액션입니다.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public Action<PrefabGridItemData>? OnClickAction;
|
2025-11-06 15:51:29 +09:00
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 화면에 드롭 시 호출될 액션입니다.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public Action<PrefabGridItemData>? OnDropAction;
|
2025-09-26 18:08:07 +09:00
|
|
|
}
|
|
|
|
|
}
|