zip压缩加载测试
This commit is contained in:
41
Assets/Main/Script/Runtime/Data/PointGatherData.cs
Normal file
41
Assets/Main/Script/Runtime/Data/PointGatherData.cs
Normal file
@@ -0,0 +1,41 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
[CreateAssetMenu(fileName = "PointGatherData", menuName = "Evo/Create PointGatherData")]
|
||||
public class PointGatherData : ScriptableObject
|
||||
{
|
||||
public List<ZoneData> ZoneDatas;
|
||||
|
||||
[SerializeField]
|
||||
private GameObject targetGameObject;
|
||||
}
|
||||
/// <summary>
|
||||
/// 区域数据
|
||||
/// </summary>
|
||||
[Serializable]
|
||||
public class ZoneData
|
||||
{
|
||||
public int id;
|
||||
public string name;
|
||||
public string desc;
|
||||
public string spriteName;
|
||||
public Vector3 position;
|
||||
public Vector3 rotation;
|
||||
public Vector3 scale;
|
||||
public List<PointData> pointDatas;
|
||||
}
|
||||
/// <summary>
|
||||
/// 点位数据
|
||||
/// </summary>
|
||||
[Serializable]
|
||||
public class PointData
|
||||
{
|
||||
public int id;
|
||||
public string name;
|
||||
public Vector3 position;
|
||||
public Vector3 rotation;
|
||||
public Vector3 scale;
|
||||
public string desc;
|
||||
}
|
||||
Reference in New Issue
Block a user