整合SLSUtilities

This commit is contained in:
SoulliesOfficial
2026-01-17 11:35:49 -05:00
parent d94241f36c
commit 7ee2894a63
1338 changed files with 3051541 additions and 507034 deletions

View File

@@ -0,0 +1,38 @@
using UnityEngine;
namespace LunaWolfStudios.ScriptableSheets.Samples.DeepInheritance
{
[System.Serializable]
public class Harvestable : BaseEntity, IHarvestable
{
[Header(nameof(IHarvestable))]
[SerializeField]
private Sowable m_SowableChild;
public Sowable SowableChild { get => m_SowableChild; set => m_SowableChild = value; }
[SerializeField]
private HarvestableCategory m_HarvestableCategory;
public HarvestableCategory HarvestableCategory { get => m_HarvestableCategory; set => m_HarvestableCategory = value; }
[SerializeField]
private float m_HarvestYield;
public float HarvestYield { get => m_HarvestYield; set => m_HarvestYield = value; }
[SerializeField]
private SeasonalHarvest m_SeasonalHarvestStart;
public SeasonalHarvest SeasonalHarvestStart { get => m_SeasonalHarvestStart; set => m_SeasonalHarvestStart = value; }
[SerializeField]
private SeasonalHarvest m_SeasonalHarvestEnd;
public SeasonalHarvest SeasonalHarvestEnd { get => m_SeasonalHarvestEnd; set => m_SeasonalHarvestEnd = value; }
}
[System.Serializable]
public class Harvestable<T> : Harvestable, IBaseEntity<T> where T : System.Enum
{
[Header(nameof(IBaseEntity) + "<T>")]
[SerializeField]
private T m_Variant;
public T Variant { get => m_Variant; set => m_Variant = value; }
}
}

View File

@@ -0,0 +1,18 @@
fileFormatVersion: 2
guid: 628eb03b22802844c80d2500b3c1ddc1
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
AssetOrigin:
serializedVersion: 1
productId: 284559
packageName: Scriptable Sheets
packageVersion: 1.8.0
assetPath: Packages/com.lunawolfstudios.scriptablesheets/Samples~/DeepInheritance/Scripts/Harvestables/Harvestable.cs
uploadId: 823456

View File

@@ -0,0 +1,7 @@
namespace LunaWolfStudios.ScriptableSheets.Samples.DeepInheritance
{
[System.Serializable]
public class HarvestableBush : Harvestable<HarvestableBushType>
{
}
}

View File

@@ -0,0 +1,18 @@
fileFormatVersion: 2
guid: ca68975fd47c56f469af3d9ddf5dc426
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
AssetOrigin:
serializedVersion: 1
productId: 284559
packageName: Scriptable Sheets
packageVersion: 1.8.0
assetPath: Packages/com.lunawolfstudios.scriptablesheets/Samples~/DeepInheritance/Scripts/Harvestables/HarvestableBush.cs
uploadId: 823456

View File

@@ -0,0 +1,7 @@
namespace LunaWolfStudios.ScriptableSheets.Samples.DeepInheritance
{
[System.Serializable]
public class HarvestablePlant : Harvestable<HarvestablePlantType>
{
}
}

View File

@@ -0,0 +1,18 @@
fileFormatVersion: 2
guid: b485e2ae7b0a23543bd5f20d933c8171
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
AssetOrigin:
serializedVersion: 1
productId: 284559
packageName: Scriptable Sheets
packageVersion: 1.8.0
assetPath: Packages/com.lunawolfstudios.scriptablesheets/Samples~/DeepInheritance/Scripts/Harvestables/HarvestablePlant.cs
uploadId: 823456

View File

@@ -0,0 +1,7 @@
namespace LunaWolfStudios.ScriptableSheets.Samples.DeepInheritance
{
[System.Serializable]
public class HarvestableTree : Harvestable<HarvestableTreeType>
{
}
}

View File

@@ -0,0 +1,18 @@
fileFormatVersion: 2
guid: e75c8ee1f8b038448b9a36093c2d9cf0
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
AssetOrigin:
serializedVersion: 1
productId: 284559
packageName: Scriptable Sheets
packageVersion: 1.8.0
assetPath: Packages/com.lunawolfstudios.scriptablesheets/Samples~/DeepInheritance/Scripts/Harvestables/HarvestableTree.cs
uploadId: 823456

View File

@@ -0,0 +1,11 @@
namespace LunaWolfStudios.ScriptableSheets.Samples.DeepInheritance
{
public interface IHarvestable
{
Sowable SowableChild { get; set; }
HarvestableCategory HarvestableCategory { get; set; }
float HarvestYield { get; set; }
SeasonalHarvest SeasonalHarvestStart { get; set; }
SeasonalHarvest SeasonalHarvestEnd { get; set; }
}
}

View File

@@ -0,0 +1,18 @@
fileFormatVersion: 2
guid: 77dc73f5895c0e34eb90f563b7cb9267
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
AssetOrigin:
serializedVersion: 1
productId: 284559
packageName: Scriptable Sheets
packageVersion: 1.8.0
assetPath: Packages/com.lunawolfstudios.scriptablesheets/Samples~/DeepInheritance/Scripts/Harvestables/IHarvestable.cs
uploadId: 823456