OnOtherBuffApply/Remove监听

This commit is contained in:
SoulliesOfficial
2025-11-10 12:57:04 -05:00
parent 41a0990600
commit 0e66d4d0dd
29 changed files with 321 additions and 27 deletions

View File

@@ -1,15 +0,0 @@
using System.Collections.Generic;
using UnityEngine;
namespace SLSFramework.StorySystem
{
public abstract class GraphBase : ScriptableObject
{
// 使用 [SerializeReference] 来支持多态性,存储不同类型的节点数据
[SerializeReference]
public List<BaseNodeData> nodes = new List<BaseNodeData>();
// 存储节点之间的连接
public List<EdgeData> edges = new List<EdgeData>();
}
}

View File

@@ -1,2 +0,0 @@
fileFormatVersion: 2
guid: 88df947440cfd3841b8e5a545437b253

View File

@@ -0,0 +1,18 @@
{
"name": "StorySystemEditor",
"rootNamespace": "",
"references": [
"GUID:d1e9096bb63948544a42da8fa8cc647d"
],
"includePlatforms": [
"Editor"
],
"excludePlatforms": [],
"allowUnsafeCode": false,
"overrideReferences": false,
"precompiledReferences": [],
"autoReferenced": true,
"defineConstraints": [],
"versionDefines": [],
"noEngineReferences": false
}

View File

@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 42222c69a0f89ff43a1c0018c677ad97
AssemblyDefinitionImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant: