Compare commits
4
Commits
e279c4230e
...
v0.1.2
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2f9b0ff512 | ||
|
|
fbba140fd6 | ||
|
|
b2ce5637a0 | ||
|
|
b589f2a385 |
@@ -31,12 +31,12 @@ jobs:
|
||||
cat "$machine_id_file" > /etc/machine-id
|
||||
echo "Unity machine identity restored"
|
||||
fi
|
||||
git config --global url."https://ghfast.top/https://github.com/".insteadOf "https://github.com/"
|
||||
unity_bin="$(command -v unity-editor || command -v unity || command -v Unity || true)"
|
||||
test -n "$unity_bin"
|
||||
"$unity_bin" \
|
||||
-batchmode \
|
||||
-nographics \
|
||||
-quit \
|
||||
-projectPath "$PWD/Development~/UnityProject" \
|
||||
-runTests \
|
||||
-testPlatform EditMode \
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
# Changelog
|
||||
|
||||
## 0.1.1
|
||||
|
||||
- 声明 `JsonUtility` 所需的 Unity JSON Serialize 模块,使包可在最小消费者项目中独立解析与编译。
|
||||
|
||||
## Unreleased
|
||||
|
||||
- 修复 `ClickTarget` 对 UI 目标过早在按下阶段完成的问题,改为等待指针释放并确认 EventSystem 射线真实命中目标后再过步。
|
||||
|
||||
@@ -104,12 +104,6 @@ namespace ShrinkTutorial.Editor
|
||||
Debug.Log("[ShrinkTutorial] Sample scene created: Assets/Scenes/ShrinkTutorialSample.unity");
|
||||
}
|
||||
|
||||
[MenuItem("ShrinkSDK/Tutorial/Create Sample Scene")]
|
||||
public static void BuildSampleSceneAlias()
|
||||
{
|
||||
BuildSampleScene();
|
||||
}
|
||||
|
||||
private static ShrinkTutorialSettings EnsureSettings()
|
||||
{
|
||||
var settings = AssetDatabase.LoadAssetAtPath<ShrinkTutorialSettings>(SettingsPath);
|
||||
|
||||
@@ -22,12 +22,6 @@ namespace ShrinkTutorial.Editor
|
||||
window.Show();
|
||||
}
|
||||
|
||||
[MenuItem("ShrinkSDK/Tutorial/Editor")]
|
||||
public static void ShowWindowAlias()
|
||||
{
|
||||
ShowWindow();
|
||||
}
|
||||
|
||||
[MenuItem("ShrinkSDK/引导/重置教程进度")]
|
||||
public static void ResetProgress()
|
||||
{
|
||||
@@ -37,12 +31,6 @@ namespace ShrinkTutorial.Editor
|
||||
Debug.Log("[ShrinkTutorial] 已重置教程进度。");
|
||||
}
|
||||
|
||||
[MenuItem("ShrinkSDK/Tutorial/Reset Progress")]
|
||||
public static void ResetProgressAlias()
|
||||
{
|
||||
ResetProgress();
|
||||
}
|
||||
|
||||
private void OnEnable()
|
||||
{
|
||||
TryAssignDefaultDatabase();
|
||||
|
||||
@@ -3,7 +3,7 @@ using UnityEngine;
|
||||
|
||||
namespace ShrinkTutorial
|
||||
{
|
||||
[CreateAssetMenu(fileName = "ShrinkTutorialData", menuName = "ShrinkTutorial/Tutorial Data")]
|
||||
[CreateAssetMenu(fileName = "ShrinkTutorialData", menuName = "ShrinkSDK/引导/教程数据")]
|
||||
public class ShrinkTutorialData : ScriptableObject
|
||||
{
|
||||
public string tutorialId = string.Empty;
|
||||
|
||||
@@ -3,7 +3,7 @@ using UnityEngine;
|
||||
|
||||
namespace ShrinkTutorial
|
||||
{
|
||||
[CreateAssetMenu(fileName = "ShrinkTutorialDatabase", menuName = "ShrinkTutorial/Tutorial Database")]
|
||||
[CreateAssetMenu(fileName = "ShrinkTutorialDatabase", menuName = "ShrinkSDK/引导/教程数据库")]
|
||||
public class ShrinkTutorialDatabase : ScriptableObject
|
||||
{
|
||||
[SerializeField] private List<ShrinkTutorialData> tutorials = new();
|
||||
|
||||
@@ -2,7 +2,7 @@ using UnityEngine;
|
||||
|
||||
namespace ShrinkTutorial
|
||||
{
|
||||
[CreateAssetMenu(fileName = "ShrinkTutorialSettings", menuName = "ShrinkTutorial/Settings")]
|
||||
[CreateAssetMenu(fileName = "ShrinkTutorialSettings", menuName = "ShrinkSDK/引导/引导设置")]
|
||||
public class ShrinkTutorialSettings : ScriptableObject
|
||||
{
|
||||
private static ShrinkTutorialSettings _instance;
|
||||
|
||||
+3
-2
@@ -1,13 +1,14 @@
|
||||
{
|
||||
"name": "com.cneicy.shrink-tutorial",
|
||||
"version": "0.1.0",
|
||||
"version": "0.1.2",
|
||||
"displayName": "ShrinkTutorial",
|
||||
"description": "面向 Unity 的互动式新手引导系统,提供数据驱动教程、遮罩挖洞、动态锚点、步骤条件与运行时调度。",
|
||||
"unity": "2022.3",
|
||||
"dependencies": {
|
||||
"com.unity.textmeshpro": "3.0.7",
|
||||
"com.unity.ugui": "1.0.0",
|
||||
"com.unity.modules.physics": "1.0.0"
|
||||
"com.unity.modules.physics": "1.0.0",
|
||||
"com.unity.modules.jsonserialize": "1.0.0"
|
||||
},
|
||||
"keywords": [
|
||||
"tutorial",
|
||||
|
||||
Reference in New Issue
Block a user