34 lines
726 B
C#
34 lines
726 B
C#
|
|
#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;
|
||
|
|
}
|
||
|
|
}
|