DRHPS/code-csharp/zh_CN/CollectibleLog.cs
2025-04-08 11:31:35 +08:00

29 lines
625 B
C#

using UnityEngine;
[CreateAssetMenu(fileName = "COLLECTIBLELOG", menuName = "Deltaswap/Collectible Log", order = 0)]
public class CollectibleLog : ScriptableObject
{
public enum CollectibleLogType
{
= 0,
= 1,
= 2
}
public bool StartUnlocked;
public string LogName = "PLACEHOLDER";
public string LogPlayerPrefName = "log_";
public CollectibleLogType LogType;
public GameObject LogPrefab;
public Sprite LogPreview;
public Vector2 LogPreviewScale = Vector2.one * 200f;
public AudioClip LogOpenSound;
}