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,17 @@
using UnityEngine;
namespace OctoCore.Save.Data
{
/// <summary>
/// Base class for all save data ScriptableObjects.
/// Provides a unique identifier for each data instance.
/// </summary>
public class OctoData : ScriptableObject
{
/// <summary>
/// Unique identifier for this data instance.
/// Automatically set to the asset name.
/// </summary>
[OctoReadOnly] public string Id;
}
}
@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 496833ce6e1ccd3458cf6d9185f9d510
@@ -0,0 +1,16 @@
using UnityEngine;
namespace OctoCore.Save.Data
{
/// <summary>
/// Boolean save data ScriptableObject.
/// </summary>
[CreateAssetMenu(fileName = "bool_", menuName = "Octo/Data/Bool", order = 0)]
public class OctoDataBool : OctoData
{
/// <summary>
/// Default value for this boolean data.
/// </summary>
public bool Value;
}
}
@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 198561ebd23de0e4d878efdf99aa6cfc
@@ -0,0 +1,16 @@
using UnityEngine;
namespace OctoCore.Save.Data
{
/// <summary>
/// Float save data ScriptableObject.
/// </summary>
[CreateAssetMenu(fileName = "float_", menuName = "Octo/Data/Float", order = 2)]
public class OctoDataFloat : OctoData
{
/// <summary>
/// Default value for this float data.
/// </summary>
public float Value;
}
}
@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: a8b5df00abd22564e9e50406e8d5644b
@@ -0,0 +1,16 @@
using UnityEngine;
namespace OctoCore.Save.Data
{
/// <summary>
/// Integer save data ScriptableObject.
/// </summary>
[CreateAssetMenu(fileName = "int_", menuName = "Octo/Data/Int", order = 1)]
public class OctoDataInt : OctoData
{
/// <summary>
/// Default value for this integer data.
/// </summary>
public int Value;
}
}
@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 9503febef22124742b1dc154f549b4fe
@@ -0,0 +1,16 @@
using UnityEngine;
namespace OctoCore.Save.Data
{
/// <summary>
/// String save data ScriptableObject.
/// </summary>
[CreateAssetMenu(fileName = "string_", menuName = "Octo/Data/String", order = 3)]
public class OctoDataString : OctoData
{
/// <summary>
/// Default value for this string data.
/// </summary>
public string Value;
}
}
@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: d98ebfcec71f3a247b658908e9fee900
@@ -0,0 +1,17 @@
using UnityEngine;
namespace OctoCore.Save.Data
{
/// <summary>
/// Vector4 save data ScriptableObject.
/// Can store Vector2, Vector3, or Vector4 values.
/// </summary>
[CreateAssetMenu(fileName = "vector_", menuName = "Octo/Data/Vector", order = 4)]
public class OctoDataVector : OctoData
{
/// <summary>
/// Default value for this vector data.
/// </summary>
public Vector4 Value;
}
}
@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 5c87b0a5d0cf3cc4cb19b57e3694102d