16 lines
252 B
C#
16 lines
252 B
C#
using Newtonsoft.Json;
|
|
using UnityEngine;
|
|
|
|
[System.Serializable]
|
|
public class ApiResponse<T>
|
|
{
|
|
[JsonProperty("data")]
|
|
public T data;
|
|
|
|
[JsonProperty("count")]
|
|
public int count;
|
|
|
|
[JsonProperty("message")]
|
|
public string message;
|
|
|
|
} |