integration between World and Stage Editors - added guidances on Stage From World

This commit is contained in:
Nilton Constantino 2026-06-21 09:52:19 +01:00
parent e889746fc4
commit d0b744d162
No known key found for this signature in database
15 changed files with 38481 additions and 13450 deletions

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 3fe33c5d9e3b94e37b5a7ef0785ddd6d
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: ea6d43c28924f466a98addf9d760c4a1
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,160 @@
%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: 778f9d79eb2c410482efdc25b248dd46, type: 3}
m_Name: Stage-3.stage-definition
m_EditorClassIdentifier: Assembly-CSharp-Editor::Editor.GON.StageEditor.StageDefinition
id: stage-3.stage-definition
cellSize: 1
floorHeight: 6
activeFloorIndex: 0
worldSync:
worldLayoutId: 858671c3949e4543b0d68818c9b2e41b
worldStageId: stage_f5a0fa8cc3a14a94b8b6fa80c4e2413d
worldStageDisplayName: Stage 3
worldStageKind: 0
worldLayer: 0
worldTileSize: 24
worldLayerHeight: 24
worldTiles:
- x: 8
y: 8
- x: 9
y: 8
- x: 10
y: 8
- x: 11
y: 8
- x: 12
y: 8
- x: 8
y: 9
- x: 9
y: 9
- x: 10
y: 9
- x: 11
y: 9
- x: 12
y: 9
- x: 8
y: 10
- x: 9
y: 10
- x: 10
y: 10
- x: 11
y: 10
- x: 12
y: 10
- x: 8
y: 11
- x: 9
y: 11
- x: 10
y: 11
- x: 11
y: 11
- x: 12
y: 11
- x: 8
y: 12
- x: 9
y: 12
- x: 10
y: 12
- x: 11
y: 12
- x: 12
y: 12
- x: 13
y: 9
- x: 13
y: 10
- x: 13
y: 11
- x: 13
y: 12
- x: 8
y: 7
- x: 9
y: 7
- x: 10
y: 7
- x: 11
y: 7
- x: 7
y: 7
- x: 7
y: 8
- x: 7
y: 9
- x: 7
y: 10
expectedEndpoints:
- endpointId: endpoint_15ad351d9d8c42d3ae74bb2f53eab64f
kind: 0
worldTile:
x: 11
y: 7
socketFace: 2
required: 1
connectionId: connection_04970d242c884a1a80a89c76cb63a8aa
connectedEndpointId: endpoint_b86dd04c491644cfa521a963b25df427
debugLabel: Socket endpoint_15ad351d9d8c42d3ae74bb2f53eab64f
- endpointId: endpoint_181357103f5742008cfa73a544a56363
kind: 0
worldTile:
x: 10
y: 12
socketFace: 1
required: 1
connectionId: connection_cdf62cf06a20426b88d3987ea8917967
connectedEndpointId: endpoint_adc34044a48447d0be41389ba398d5f5
debugLabel: Socket endpoint_181357103f5742008cfa73a544a56363
- endpointId: endpoint_34e27be82570488cbcd45531e56f128c
kind: 1
worldTile:
x: 10
y: 10
socketFace: 0
required: 1
connectionId: connection_d8da15ab563d4bb9ba6f0294cec60341
connectedEndpointId: endpoint_e6e40c3366564b96825ecf652721a46d
debugLabel: Anchor endpoint_34e27be82570488cbcd45531e56f128c
- endpointId: endpoint_36134ffa6b66481394ee9b3f57d4041a
kind: 0
worldTile:
x: 12
y: 8
socketFace: 0
required: 1
connectionId: connection_cd513cb9431948c79ecf0f61eb97901e
connectedEndpointId: endpoint_0e12ccb5b4554da6b5ae02739e73763d
debugLabel: Socket endpoint_36134ffa6b66481394ee9b3f57d4041a
- endpointId: endpoint_65e01fe22fe44222919c322ea8580a69
kind: 0
worldTile:
x: 13
y: 12
socketFace: 1
required: 1
connectionId: connection_ef34c049437c491b80364a034880300d
connectedEndpointId: endpoint_dc223745e7994fbd880f1e93f146d8cf
debugLabel: Socket endpoint_65e01fe22fe44222919c322ea8580a69
syncedAt: 2026-06-21T08:02:09.2808120Z
contractVersion: 1
contractHash: a09bfc4e267078e7927d6bdb59732982afff3cd0e0567751e33c168c031b83a2
floors:
- floorId: F0
FloorHeight: 0
cells: []
objects: []

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 06d41cd3f2d8242b3b93b0b8bc624c82
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,118 @@
%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: 778f9d79eb2c410482efdc25b248dd46, type: 3}
m_Name: Stage-5.stage-definition
m_EditorClassIdentifier: Assembly-CSharp-Editor::Editor.GON.StageEditor.StageDefinition
id: stage-5.stage-definition
cellSize: 1
floorHeight: 6
activeFloorIndex: 0
worldSync:
worldLayoutId: 858671c3949e4543b0d68818c9b2e41b
worldStageId: stage_aae8c48d41d84a679c9c52acd567ff30
worldStageDisplayName: Stage 5
worldStageKind: 0
worldLayer: 0
worldTileSize: 24
worldLayerHeight: 24
worldTiles:
- x: 8
y: 13
- x: 9
y: 13
- x: 10
y: 13
- x: 11
y: 13
- x: 12
y: 13
- x: 8
y: 14
- x: 9
y: 14
- x: 10
y: 14
- x: 11
y: 14
- x: 12
y: 14
- x: 8
y: 15
- x: 9
y: 15
- x: 10
y: 15
- x: 11
y: 15
- x: 12
y: 15
- x: 8
y: 16
- x: 9
y: 16
- x: 10
y: 16
- x: 11
y: 16
- x: 12
y: 16
- x: 13
y: 14
- x: 13
y: 15
- x: 13
y: 16
- x: 11
y: 17
- x: 12
y: 17
- x: 13
y: 17
expectedEndpoints:
- endpointId: endpoint_9c245891f5734102bc24edb0dcc2c9fd
kind: 1
worldTile:
x: 11
y: 15
socketFace: 0
required: 1
connectionId: connection_335b1c8a1f964b11b72ddf2ef053bd71
connectedEndpointId: endpoint_e6e40c3366564b96825ecf652721a46d
debugLabel: Anchor endpoint_9c245891f5734102bc24edb0dcc2c9fd
- endpointId: endpoint_adc34044a48447d0be41389ba398d5f5
kind: 0
worldTile:
x: 10
y: 13
socketFace: 0
required: 1
connectionId: connection_cdf62cf06a20426b88d3987ea8917967
connectedEndpointId: endpoint_181357103f5742008cfa73a544a56363
debugLabel: Socket endpoint_adc34044a48447d0be41389ba398d5f5
- endpointId: endpoint_d9121bcc789443548c898106dd5f4c43
kind: 0
worldTile:
x: 13
y: 14
socketFace: 0
required: 1
connectionId: connection_3dabe3efe429439bbb49104bed37bb20
connectedEndpointId: endpoint_71bd3851ad2b4d20a90cf3b3f5ade5fb
debugLabel: Socket endpoint_d9121bcc789443548c898106dd5f4c43
syncedAt: 2026-06-21T07:58:09.8342000Z
contractVersion: 1
contractHash: 9a915866b1f094e86c55ab2a3cc9f590c1dd85fb188e96fc42cc67ac4f6bf1fa
floors:
- floorId: F0
FloorHeight: 0
cells: []
objects: []

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 80f0a2ed01099420fb86c249db820069
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,58 @@
%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: 778f9d79eb2c410482efdc25b248dd46, type: 3}
m_Name: Stage-6.stage-definition
m_EditorClassIdentifier: Assembly-CSharp-Editor::Editor.GON.StageEditor.StageDefinition
id: stage-6.stage-definition
cellSize: 1
floorHeight: 6
activeFloorIndex: 0
worldSync:
worldLayoutId: 858671c3949e4543b0d68818c9b2e41b
worldStageId: stage_526b633d818b4e36b96ad92f540b9415
worldStageDisplayName: Stage 6
worldStageKind: 0
worldLayer: 0
worldTileSize: 24
worldLayerHeight: 24
worldTiles:
- x: 17
y: 7
- x: 18
y: 7
- x: 19
y: 7
- x: 17
y: 8
- x: 18
y: 8
- x: 19
y: 8
expectedEndpoints:
- endpointId: endpoint_27a37615b51f40cdb39acfc9fbffce22
kind: 0
worldTile:
x: 18
y: 8
socketFace: 1
required: 1
connectionId: connection_2b7aa20f26bd48acb636a37ed1d20ad0
connectedEndpointId: endpoint_7cf95989e98a4de49edb7e2080e1c5e6
debugLabel: Socket endpoint_27a37615b51f40cdb39acfc9fbffce22
syncedAt: 2026-06-21T07:32:14.0449220Z
contractVersion: 1
contractHash: 61f8fa773b7b82088215f69785714fb78c7b2bd51cdf88bf807b1524aa002b10
floors:
- floorId: F0
FloorHeight: 0
cells: []
objects: []

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: c20501bce39ca4efeb6a7b89c02ba4f4
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,130 @@
%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: 778f9d79eb2c410482efdc25b248dd46, type: 3}
m_Name: Stage-7.stage-definition
m_EditorClassIdentifier: Assembly-CSharp-Editor::Editor.GON.StageEditor.StageDefinition
id: stage-7.stage-definition
cellSize: 1
floorHeight: 6
activeFloorIndex: 0
worldSync:
worldLayoutId: 858671c3949e4543b0d68818c9b2e41b
worldStageId: stage_3e76ac8acd0447d59b0fbf1a65a25fb3
worldStageDisplayName: Stage 7
worldStageKind: 0
worldLayer: 0
worldTileSize: 24
worldLayerHeight: 24
worldTiles:
- x: 13
y: 13
- x: 14
y: 13
- x: 16
y: 13
- x: 17
y: 13
- x: 15
y: 13
- x: 17
y: 9
- x: 18
y: 9
- x: 19
y: 9
- x: 17
y: 10
- x: 18
y: 10
- x: 19
y: 10
- x: 17
y: 11
- x: 18
y: 11
- x: 19
y: 11
- x: 17
y: 12
- x: 18
y: 12
- x: 18
y: 13
- x: 14
y: 14
- x: 15
y: 14
- x: 16
y: 14
- x: 17
y: 14
- x: 18
y: 14
expectedEndpoints:
- endpointId: endpoint_0e3b0c016a474adb8fe8b05bdfd79f14
kind: 2
worldTile:
x: 18
y: 10
socketFace: 0
required: 1
connectionId: connection_12db74114bf54c8eb5b7038efcae4172
connectedEndpointId: endpoint_ae66297a1c1a4c259e26ea8b51d69851
debugLabel: Lift endpoint_0e3b0c016a474adb8fe8b05bdfd79f14
- endpointId: endpoint_71bd3851ad2b4d20a90cf3b3f5ade5fb
kind: 0
worldTile:
x: 13
y: 13
socketFace: 1
required: 1
connectionId: connection_3dabe3efe429439bbb49104bed37bb20
connectedEndpointId: endpoint_d9121bcc789443548c898106dd5f4c43
debugLabel: Socket endpoint_71bd3851ad2b4d20a90cf3b3f5ade5fb
- endpointId: endpoint_7cf95989e98a4de49edb7e2080e1c5e6
kind: 0
worldTile:
x: 18
y: 9
socketFace: 0
required: 1
connectionId: connection_2b7aa20f26bd48acb636a37ed1d20ad0
connectedEndpointId: endpoint_27a37615b51f40cdb39acfc9fbffce22
debugLabel: Socket endpoint_7cf95989e98a4de49edb7e2080e1c5e6
- endpointId: endpoint_dc223745e7994fbd880f1e93f146d8cf
kind: 0
worldTile:
x: 13
y: 13
socketFace: 0
required: 1
connectionId: connection_ef34c049437c491b80364a034880300d
connectedEndpointId: endpoint_65e01fe22fe44222919c322ea8580a69
debugLabel: Socket endpoint_dc223745e7994fbd880f1e93f146d8cf
- endpointId: endpoint_e6e40c3366564b96825ecf652721a46d
kind: 1
worldTile:
x: 17
y: 13
socketFace: 0
required: 1
connectionId: connection_d8da15ab563d4bb9ba6f0294cec60341
connectedEndpointId: endpoint_34e27be82570488cbcd45531e56f128c
debugLabel: Anchor endpoint_e6e40c3366564b96825ecf652721a46d
syncedAt: 2026-06-21T07:49:58.6059260Z
contractVersion: 1
contractHash: 78fcf2e37e20cc2a2f3886f01c66855bfc05925f47848f83ae372c9665076bff
floors:
- floorId: F0
FloorHeight: 0
cells: []
objects: []

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 87686391a47f9457c9c54232deb9707e
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

View File

@ -18,26 +18,12 @@ MonoBehaviour:
minWorldLayer: -2 minWorldLayer: -2
maxWorldLayer: 1 maxWorldLayer: 1
stages: stages:
- id: stage_9202fe485eaa408d86e379b3fdafa49b
displayName: Stage 1
stageKind: 0
worldLayer: 0
color: {r: 0.43435237, g: 0.72672, b: 0.73008716, a: 0.820845}
stageDefinition: {fileID: 0}
occupiedTiles: []
- id: stage_25e8797ce5d9420b97aaf3e06f760b1d
displayName: Stage 2
stageKind: 0
worldLayer: 0
color: {r: 0.71619093, g: 0.6632371, b: 0.3653053, a: 0.7631802}
stageDefinition: {fileID: 0}
occupiedTiles: []
- id: stage_f5a0fa8cc3a14a94b8b6fa80c4e2413d - id: stage_f5a0fa8cc3a14a94b8b6fa80c4e2413d
displayName: Stage 3 displayName: Stage 3
stageKind: 0 stageKind: 0
worldLayer: 0 worldLayer: 0
color: {r: 0.26295125, g: 0.36055228, b: 0.6102875, a: 0.76864} color: {r: 0.26295125, g: 0.36055228, b: 0.6102875, a: 0.76864}
stageDefinition: {fileID: 0} stageDefinition: {fileID: 11400000, guid: 06d41cd3f2d8242b3b93b0b8bc624c82, type: 2}
occupiedTiles: occupiedTiles:
- x: 8 - x: 8
y: 8 y: 8
@ -113,19 +99,12 @@ MonoBehaviour:
y: 9 y: 9
- x: 7 - x: 7
y: 10 y: 10
- id: stage_92bb328658e04aceb915822ac7ff20ae
displayName: Stage 4
stageKind: 0
worldLayer: 0
color: {r: 0.7052704, g: 0.6072819, b: 0.39938506, a: 0.8043456}
stageDefinition: {fileID: 0}
occupiedTiles: []
- id: stage_aae8c48d41d84a679c9c52acd567ff30 - id: stage_aae8c48d41d84a679c9c52acd567ff30
displayName: Stage 5 displayName: Stage 5
stageKind: 0 stageKind: 0
worldLayer: 0 worldLayer: 0
color: {r: 0.73909104, g: 0.47607818, b: 0.6006857, a: 0.8447911} color: {r: 0.73909104, g: 0.47607818, b: 0.6006857, a: 0.8447911}
stageDefinition: {fileID: 0} stageDefinition: {fileID: 11400000, guid: 80f0a2ed01099420fb86c249db820069, type: 2}
occupiedTiles: occupiedTiles:
- x: 8 - x: 8
y: 13 y: 13
@ -184,7 +163,7 @@ MonoBehaviour:
stageKind: 0 stageKind: 0
worldLayer: 0 worldLayer: 0
color: {r: 0.59988964, g: 0.84526074, b: 0.5487183, a: 0.7954139} color: {r: 0.59988964, g: 0.84526074, b: 0.5487183, a: 0.7954139}
stageDefinition: {fileID: 0} stageDefinition: {fileID: 11400000, guid: c20501bce39ca4efeb6a7b89c02ba4f4, type: 2}
occupiedTiles: occupiedTiles:
- x: 17 - x: 17
y: 7 y: 7
@ -203,7 +182,7 @@ MonoBehaviour:
stageKind: 0 stageKind: 0
worldLayer: 0 worldLayer: 0
color: {r: 0.7086307, g: 0.25315043, b: 0.84043574, a: 0.79866225} color: {r: 0.7086307, g: 0.25315043, b: 0.84043574, a: 0.79866225}
stageDefinition: {fileID: 0} stageDefinition: {fileID: 11400000, guid: 87686391a47f9457c9c54232deb9707e, type: 2}
occupiedTiles: occupiedTiles:
- x: 13 - x: 13
y: 13 y: 13
@ -215,58 +194,30 @@ MonoBehaviour:
y: 13 y: 13
- x: 15 - x: 15
y: 13 y: 13
- x: 14
y: 9
- x: 15
y: 9
- x: 16
y: 9
- x: 17 - x: 17
y: 9 y: 9
- x: 18 - x: 18
y: 9 y: 9
- x: 19 - x: 19
y: 9 y: 9
- x: 14
y: 10
- x: 15
y: 10
- x: 16
y: 10
- x: 17 - x: 17
y: 10 y: 10
- x: 18 - x: 18
y: 10 y: 10
- x: 19 - x: 19
y: 10 y: 10
- x: 14
y: 11
- x: 15
y: 11
- x: 16
y: 11
- x: 17 - x: 17
y: 11 y: 11
- x: 18 - x: 18
y: 11 y: 11
- x: 19 - x: 19
y: 11 y: 11
- x: 14
y: 12
- x: 15
y: 12
- x: 16
y: 12
- x: 17 - x: 17
y: 12 y: 12
- x: 18 - x: 18
y: 12 y: 12
- x: 19
y: 12
- x: 18 - x: 18
y: 13 y: 13
- x: 19
y: 13
- x: 14 - x: 14
y: 14 y: 14
- x: 15 - x: 15
@ -277,44 +228,6 @@ MonoBehaviour:
y: 14 y: 14
- x: 18 - x: 18
y: 14 y: 14
- x: 19
y: 14
- x: 14
y: 15
- x: 15
y: 15
- x: 16
y: 15
- x: 17
y: 15
- x: 18
y: 15
- x: 19
y: 15
- x: 14
y: 16
- x: 15
y: 16
- x: 16
y: 16
- x: 17
y: 16
- x: 18
y: 16
- x: 19
y: 16
- x: 14
y: 17
- x: 15
y: 17
- x: 16
y: 17
- x: 17
y: 17
- x: 18
y: 17
- x: 19
y: 17
- id: stage_1a60b23d8b4c4622905831237c716081 - id: stage_1a60b23d8b4c4622905831237c716081
displayName: Stage 8 displayName: Stage 8
stageKind: 0 stageKind: 0
@ -460,20 +373,15 @@ MonoBehaviour:
y: 12 y: 12
- x: 20 - x: 20
y: 12 y: 12
- id: stage_bfa43a65aced42ceb03f56b11dce0998 - id: stage_7c3044f376a540c98034ac5057038985
displayName: Stage 15 displayName: Save Point 8
stageKind: 0 stageKind: 1
worldLayer: 0 worldLayer: 0
color: {r: 0.82491213, g: 0.683962, b: 0.2155831, a: 0.8341453} color: {r: 0.95, g: 0.25, b: 0.85, a: 0.82}
stageDefinition: {fileID: 0} stageDefinition: {fileID: 11400000, guid: ea6d43c28924f466a98addf9d760c4a1, type: 2}
occupiedTiles: [] occupiedTiles:
- id: stage_b24d4774f45444138b8cfda33ed5034e - x: 12
displayName: Stage 16 y: 7
stageKind: 0
worldLayer: 0
color: {r: 0.44949582, g: 0.6144462, b: 0.7657885, a: 0.82364887}
stageDefinition: {fileID: 0}
occupiedTiles: []
endpoints: endpoints:
- id: endpoint_adc34044a48447d0be41389ba398d5f5 - id: endpoint_adc34044a48447d0be41389ba398d5f5
stageId: stage_aae8c48d41d84a679c9c52acd567ff30 stageId: stage_aae8c48d41d84a679c9c52acd567ff30
@ -595,6 +503,38 @@ MonoBehaviour:
kind: 2 kind: 2
required: 1 required: 1
socketFace: 0 socketFace: 0
- id: endpoint_0e12ccb5b4554da6b5ae02739e73763d
stageId: stage_7c3044f376a540c98034ac5057038985
worldTile:
x: 12
y: 7
kind: 0
required: 1
socketFace: 1
- id: endpoint_36134ffa6b66481394ee9b3f57d4041a
stageId: stage_f5a0fa8cc3a14a94b8b6fa80c4e2413d
worldTile:
x: 12
y: 8
kind: 0
required: 1
socketFace: 0
- id: endpoint_b86dd04c491644cfa521a963b25df427
stageId: stage_7c3044f376a540c98034ac5057038985
worldTile:
x: 12
y: 7
kind: 0
required: 1
socketFace: 3
- id: endpoint_15ad351d9d8c42d3ae74bb2f53eab64f
stageId: stage_f5a0fa8cc3a14a94b8b6fa80c4e2413d
worldTile:
x: 11
y: 7
kind: 0
required: 1
socketFace: 2
connections: connections:
- id: connection_cdf62cf06a20426b88d3987ea8917967 - id: connection_cdf62cf06a20426b88d3987ea8917967
endpointAId: endpoint_adc34044a48447d0be41389ba398d5f5 endpointAId: endpoint_adc34044a48447d0be41389ba398d5f5
@ -636,3 +576,11 @@ MonoBehaviour:
endpointAId: endpoint_263ea59d79614b9b85ed2bb4fe25c9ad endpointAId: endpoint_263ea59d79614b9b85ed2bb4fe25c9ad
endpointBId: endpoint_6f17b532985e4e908e70b3802eccf8cc endpointBId: endpoint_6f17b532985e4e908e70b3802eccf8cc
directionality: 0 directionality: 0
- id: connection_cd513cb9431948c79ecf0f61eb97901e
endpointAId: endpoint_0e12ccb5b4554da6b5ae02739e73763d
endpointBId: endpoint_36134ffa6b66481394ee9b3f57d4041a
directionality: 0
- id: connection_04970d242c884a1a80a89c76cb63a8aa
endpointAId: endpoint_b86dd04c491644cfa521a963b25df427
endpointBId: endpoint_15ad351d9d8c42d3ae74bb2f53eab64f
directionality: 0

File diff suppressed because one or more lines are too long

View File

@ -416,8 +416,8 @@ namespace Editor.GON.StageEditor
return kind switch return kind switch
{ {
StageObjectKind.Trap_FallingFloor => 2 * Vector2Int.one, StageObjectKind.Trap_FallingFloor => 2 * Vector2Int.one,
StageObjectKind.DoorVertical => new Vector2Int(1, 2), StageObjectKind.DoorVertical => new Vector2Int(1, 4),
StageObjectKind.DoorHorizontal => new Vector2Int(2, 1), StageObjectKind.DoorHorizontal => new Vector2Int(4, 1),
StageObjectKind.CameraBoundary => new Vector2Int(8, 5), StageObjectKind.CameraBoundary => new Vector2Int(8, 5),
_ => Vector2Int.one _ => Vector2Int.one
}; };

View File

@ -151,6 +151,7 @@ namespace Editor.GON.WorldEditor
var openButton = new Button(delegate var openButton = new Button(delegate
{ {
Selection.activeObject = stage.stageDefinition; Selection.activeObject = stage.stageDefinition;
StageDefinitionSyncer.CreateOrSyncStageDefinition(worldLayout, stage);
StageEditorWindow.Open(stage.stageDefinition); StageEditorWindow.Open(stage.stageDefinition);
}) })
{ {