OctoCore 0.0.1

This commit is contained in:
Alexandre Coirier
2026-02-09 23:53:14 +01:00
parent 85bf743cba
commit 80d0faf8a7
235 changed files with 13656 additions and 32 deletions
@@ -0,0 +1,18 @@
using UnityEngine;
namespace OctoCore.Dialogue.Data
{
/// <summary>
/// Dialogue data containing a sequence of entries.
/// </summary>
[CreateAssetMenu(fileName = "dialogue_", menuName = "OctoCore/Dialogue/Dialogue Data", order = 1)]
public class OctoDialogueData : ScriptableObject
{
/// <summary>
/// Sequence of dialogue entries.
/// First entry starts automatically.
/// </summary>
[Tooltip("Sequence of dialogue entries")]
public OctoDialogueEntry[] Entries;
}
}
@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 0c6fdb9b9b4581f4b912b64147fa3969
@@ -0,0 +1,25 @@
using UnityEngine;
using OctoCore.Localization;
namespace OctoCore.Dialogue.Data
{
/// <summary>
/// Speaker data for dialogue system.
/// Contains localized name and sprite.
/// </summary>
[CreateAssetMenu(fileName = "speaker_", menuName = "OctoCore/Dialogue/Speaker Data", order = 0)]
public class OctoSpeakerData : ScriptableObject
{
/// <summary>
/// Localized name of the speaker.
/// </summary>
[Tooltip("Localized name of the speaker")]
public OctoLocalizedTextData Name;
/// <summary>
/// Speaker portrait sprite.
/// </summary>
[Tooltip("Speaker portrait sprite")]
public Sprite Sprite;
}
}
@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: a14c37f184ae07b4b8f641e7e2896ed7