【m】[1.0.5] - 2026-01-06

### Changed
- 添加更新日志
- 修改加载器选择范围,允许指定程序集检查
### Fixed
- 处理Sample在UnityPackage窗口不显示的问题
This commit is contained in:
mzh
2026-01-08 11:07:40 +08:00
parent 05b1bc90ff
commit cc3543519d
11 changed files with 56 additions and 9 deletions

View File

@@ -0,0 +1,29 @@
# Changelog
此包的所有更新日志会被记录在此文件中
## [1.0.5] - 2026-01-06
### Changed
- 添加更新日志
- 修改加载器选择范围,允许指定程序集检查
### Fixed
- 处理Sample在UnityPackage窗口不显示的问题
## [1.0.4] - 2026-01-06
### Fixed
- 移除Editor程序集在Editor以外平台的编译许可解决打包报错问题
## [1.0.3] - 2026-01-06
### Changed
- 由于ARMaxPro环境自带了一份DoTween且该DoTween处于Plugins目录无法被程序集引用移除DoTween并改用异步动画替代
## [1.0.2] - 2026-01-06
### Fixed
- 处理RunTime程序集乱码报错
## [1.0.1] - 2026-01-06
### Added
- 添加程序集com.storyeditor.runtime和com.storyeditor.editor
## [1.0.0] - 2026-01-06
### Added
- 初始发布,包含基础剧本编辑器框架。

View File

@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 6b633e0eee32489895ce1a69771a3539
timeCreated: 1767840867

View File

@@ -2,6 +2,7 @@ using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using Cysharp.Threading.Tasks;
using Newtonsoft.Json;
using Sirenix.OdinInspector;
@@ -126,14 +127,14 @@ namespace Stary.Evo.StoryEditor
#region
/// <summary>
/// 资源加载方式
/// </summary>
[BoxGroup("Export", centerLabel:true)]
[LabelText("资源加载方式"), ValueDropdown(nameof(_iResourceTypes)),SerializeField]
private string loaderType;
#if UNITY_EDITOR
[BoxGroup("Export")]
[SerializeField, ValueDropdown(nameof(GetAllAssemblyNames))]
private string assembly;
private IEnumerable<string> GetAllAssemblyNames() =>
AppDomain.CurrentDomain.GetAssemblies().Select(a => a.GetName().Name).OrderBy(n => n);
/// <summary>
/// 获取继承 IResource 的所有类
/// </summary>
@@ -143,6 +144,13 @@ namespace Stary.Evo.StoryEditor
private HashSet<string> _iResourceTypes = new();
#endif
/// <summary>
/// 资源加载方式
/// </summary>
[BoxGroup("Export", centerLabel:true)]
[LabelText("资源加载方式"), ValueDropdown(nameof(_iResourceTypes)),SerializeField]
private string loaderType;
private IResource _loader;
/// <summary>
/// 资源加载器

View File

@@ -1,6 +1,6 @@
{
"name": "com.staryevo.storyeditor",
"version": "1.0.4",
"version": "1.0.5",
"displayName": "10.StoryEditor",
"description": "可视化剧本编辑器\n1.通过可视化图表编辑剧本内容\n2.将剧本导出为json\n3.解析剧本并执行",
"unity": "2021.3",
@@ -20,5 +20,12 @@
"com.github.siccity.xnode": "1.8.0",
"com.cysharp.unitask": "2.5.10",
"com.unity.nuget.newtonsoft-json": "3.2.1"
},
"samples": [
{
"displayName": "ARMazPro Sample",
"description": "基于ARMazPro环境的示例",
"path": "Samples~/ARMazProSample"
}
]
}