rabidus-test/Assets/Scripts/MonumentInfo.cs

27 lines
584 B
C#
Raw Normal View History

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[CreateAssetMenu(fileName = "Monumet")]
2023-08-22 17:17:54 +03:00
[System.Serializable]
public class MonumentInfo : ScriptableObject
{
2023-10-02 19:12:35 +03:00
public bool AllMaps;
2023-08-15 17:38:54 +03:00
public string Name;
2023-09-11 15:44:17 +03:00
public string SceneName;
2023-08-15 17:38:54 +03:00
public Sprite Image;
[TextArea]
2023-08-15 17:38:54 +03:00
public string Description;
2023-10-24 14:34:33 +03:00
[TextArea]
public string LongDescription;
2023-08-15 17:38:54 +03:00
public GameObject MiniModel;
public float Score;
2023-10-23 11:19:20 +03:00
public AudioClip ShortClip;
public AudioClip LongClip;
public float ShortDuration = 5;
public float LongDuration = 5;
}