feat(cordis): 接入上下文组合与模组事务热替换

This commit is contained in:
2026-08-16 23:20:40 +08:00
commit ad256f109b
676 changed files with 52168 additions and 0 deletions
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: f112dafa4f195064aa296f97ed9f4810
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,21 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 975bc7797d2338c42b237370d7ea7fcc, type: 3}
m_Name: ShrinkTutorialSettings
m_EditorClassIdentifier:
database: {fileID: 11400000, guid: 68d65a9e822a48940ae3bac1485b6663, type: 2}
autoCreateManager: 1
dontDestroyOnLoad: 1
canvasSortingOrder: 9999
maskColor: {r: 0, g: 0, b: 0, a: 0.72}
playerPrefsStorageKey: ShrinkTutorial.Progress
showSkipButton: 1
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: de01167f7d6accc47a6fe5f039e31e93
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,16 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: b0483b6d3c8490947a769ec2f8afdc34, type: 3}
m_Name: ShrinkTutorialSampleDatabase
m_EditorClassIdentifier:
tutorials:
- {fileID: 11400000, guid: 155d1ef556140b149bfe20bd35c266a4, type: 2}
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 68d65a9e822a48940ae3bac1485b6663
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,93 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 356e79bb4dd3ef04099347bbe1dbca2b, type: 3}
m_Name: ShrinkTutorialSampleTutorial
m_EditorClassIdentifier:
tutorialId: sample.shrink_tutorial.basic
priority: 100
prerequisiteIds: []
steps:
- targetMode: 1
targetPath: Tutorial Sample Canvas/OpenInventoryButton
anchorId:
waitForTarget: 1
waitTimeout: 5
completeCondition: 0
customEventName:
autoDelay: 0.5
dragTargetAnchorId:
localizedTextKey:
fallbackText: Click here to open the inventory panel.
dialogAnchor: 2
dialogOffset: {x: 0, y: 0}
maskShape: 1
maskPadding: 12
showArrow: 1
enterSignal:
exitSignal:
- targetMode: 1
targetPath: Tutorial Sample Canvas/InventoryPanel/SpawnRewardButton
anchorId:
waitForTarget: 1
waitTimeout: 5
completeCondition: 0
customEventName:
autoDelay: 0.5
dragTargetAnchorId:
localizedTextKey:
fallbackText: The inventory is open. Click 'Spawn Reward Item' to demonstrate
dynamic-anchor waiting.
dialogAnchor: 1
dialogOffset: {x: 0, y: 0}
maskShape: 1
maskPadding: 12
showArrow: 1
enterSignal:
exitSignal:
- targetMode: 2
targetPath:
anchorId: sample.reward.item
waitForTarget: 1
waitTimeout: 10
completeCondition: 2
customEventName: sample.reward.claimed
autoDelay: 0.5
dragTargetAnchorId:
localizedTextKey:
fallbackText: This button was created at runtime. Click it and the step will
complete via a custom event.
dialogAnchor: 1
dialogOffset: {x: 0, y: 0}
maskShape: 1
maskPadding: 12
showArrow: 1
enterSignal:
exitSignal:
- targetMode: 0
targetPath:
anchorId:
waitForTarget: 1
waitTimeout: 5
completeCondition: 1
customEventName:
autoDelay: 0.5
dragTargetAnchorId:
localizedTextKey:
fallbackText: Demo finished. You completed the static-target, dynamic-anchor,
and custom-event flow. Click anywhere to close.
dialogAnchor: 0
dialogOffset: {x: 0, y: 0}
maskShape: 0
maskPadding: 12
showArrow: 0
enterSignal:
exitSignal:
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 155d1ef556140b149bfe20bd35c266a4
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant: