Initial commit
This commit is contained in:
28
code-csharp/en_US/CollectibleLog.cs
Normal file
28
code-csharp/en_US/CollectibleLog.cs
Normal file
@ -0,0 +1,28 @@
|
||||
using UnityEngine;
|
||||
|
||||
[CreateAssetMenu(fileName = "COLLECTIBLELOG", menuName = "Deltaswap/Collectible Log", order = 0)]
|
||||
public class CollectibleLog : ScriptableObject
|
||||
{
|
||||
public enum CollectibleLogType
|
||||
{
|
||||
Document = 0,
|
||||
Video = 1,
|
||||
Audio = 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;
|
||||
}
|
Reference in New Issue
Block a user