Files
gmtk-2023/Assets/Scripts/DialogueSystem/CharacterData.cs
Amaan Shawkath d023634369 - changed camera so it only moves on a right click
- added sfx to characters talking
- added character sprite to dialogue panel
2023-07-09 15:57:31 +01:00

22 lines
606 B
C#

using System.Collections.Generic;
using UnityEngine;
[CreateAssetMenu(fileName = "CharacterData", menuName = "Characters/Generate Character Data", order = 1)]
public class CharacterData : ScriptableObject
{
public Sprite m_image;
public Sprite m_avatar;
public string m_name;
public int m_charisma;
public int m_strength;
public int m_dexterity;
public int m_intelligence;
[Header("The index of the dialogue relates to what question it should link too.")]
public List<Dialogue> m_dialogueOptions;
public AudioClip m_typingSfx;
public float m_sfxPitch = 1;
}