gameplay refine

1. 优化 ResolutionAdapter 的分辨率适配问题
2. 调整 SpriteCache 的资源路径拼接
3. 引入 StoryDirector 做各玩法的胶水
4. 导入和改名资源便于代码查询路径
This commit is contained in:
2026-04-20 15:26:36 +08:00
parent cc5d8edec4
commit 0f928f6167
56 changed files with 1218 additions and 621 deletions
@@ -17,6 +17,8 @@ public partial class GameEntry : MonoBehaviour
public static CombineComponent Combine { get; private set; }
public static DialogComponent Dialog { get; private set; }
public static AIChatComponent AIChat { get; private set; }
public static StoryDirectorComponent StoryDirector { get; private set; }
public static SpriteCacheComponent SpriteCache { get; private set; }
private static void InitCustomComponents()
{
@@ -24,5 +26,7 @@ public partial class GameEntry : MonoBehaviour
Combine = UnityGameFramework.Runtime.GameEntry.GetComponent<CombineComponent>();
Dialog = UnityGameFramework.Runtime.GameEntry.GetComponent<DialogComponent>();
AIChat = UnityGameFramework.Runtime.GameEntry.GetComponent<AIChatComponent>();
StoryDirector = UnityGameFramework.Runtime.GameEntry.GetComponent<StoryDirectorComponent>();
SpriteCache = UnityGameFramework.Runtime.GameEntry.GetComponent<SpriteCacheComponent>();
}
}