Building for web

This commit is contained in:
Max 2025-03-05 15:54:40 +01:00
parent 3651adbef8
commit 395535b947
21 changed files with 197 additions and 37 deletions

View file

@ -1,3 +1,6 @@
#if UNITY_EDITOR
using DungeonGenerator;
using UnityEditor;
using UnityEditor.SceneTemplate;
@ -41,3 +44,4 @@ public class NewDungeonTemplatePipeline : ISceneTemplatePipeline
}
}
}
#endif

View file

@ -1,3 +1,4 @@
#if UNITY_EDITOR
using System;
using System.Collections.Generic;
using UnityEngine;
@ -163,3 +164,4 @@ namespace DungeonGenerator
}
}
}
#endif

View file

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

View file

@ -0,0 +1,54 @@
%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: 15003, guid: 0000000000000000e000000000000000, type: 0}
m_Name: New Web Profile
m_EditorClassIdentifier:
m_AssetVersion: 1
m_BuildTarget: 20
m_Subtarget: 0
m_PlatformId: 84a3bb9e7420477f885e98145999eb20
m_PlatformBuildProfile:
rid: 1451893405901389826
m_OverrideGlobalSceneList: 0
m_Scenes:
- m_enabled: 1
m_path: Assets/Scenes/Start.unity
- m_enabled: 1
m_path: Assets/Scenes/Dungeons/01_30x30_5_monster.unity
- m_enabled: 1
m_path: Assets/Scenes/Dungeons/02_30x30_5_monster.unity
- m_enabled: 1
m_path: Assets/Scenes/Dungeons/03_30x30_5_monster.unity
m_ScriptingDefines: []
m_PlayerSettingsYaml:
m_Settings: []
references:
version: 2
RefIds:
- rid: 1451893405901389826
type: {class: WebGLPlatformSettings, ns: UnityEditor.WebGL, asm: UnityEditor.WebGL.Extensions}
data:
m_Development: 0
m_ConnectProfiler: 0
m_BuildWithDeepProfilingSupport: 0
m_AllowDebugging: 0
m_WaitForManagedDebugger: 0
m_ManagedDebuggerFixedPort: 0
m_ExplicitNullChecks: 0
m_ExplicitDivideByZeroChecks: 0
m_ExplicitArrayBoundsChecks: 0
m_CompressionType: -1
m_InstallInBuildFolder: 0
m_CodeOptimization: 3
m_WebGLClientBrowserPath:
m_WebGLClientBrowserType: 0
m_WebGLTextureSubtarget: 0

View file

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

View file

@ -0,0 +1,48 @@
%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: 15003, guid: 0000000000000000e000000000000000, type: 0}
m_Name: New Windows Profile
m_EditorClassIdentifier:
m_AssetVersion: 1
m_BuildTarget: 19
m_Subtarget: 2
m_PlatformId: 4e3c793746204150860bf175a9a41a05
m_PlatformBuildProfile:
rid: 4022734937106940019
m_OverrideGlobalSceneList: 0
m_Scenes: []
m_ScriptingDefines: []
m_PlayerSettingsYaml:
m_Settings: []
references:
version: 2
RefIds:
- rid: 4022734937106940019
type: {class: WindowsPlatformSettings, ns: UnityEditor.WindowsStandalone, asm: UnityEditor.WindowsStandalone.Extensions}
data:
m_Development: 0
m_ConnectProfiler: 0
m_BuildWithDeepProfilingSupport: 0
m_AllowDebugging: 0
m_WaitForManagedDebugger: 0
m_ManagedDebuggerFixedPort: 0
m_ExplicitNullChecks: 0
m_ExplicitDivideByZeroChecks: 0
m_ExplicitArrayBoundsChecks: 0
m_CompressionType: 0
m_InstallInBuildFolder: 0
m_WindowsBuildAndRunDeployTarget: 0
m_Architecture: 0
m_CreateSolution: 0
m_CopyPDBFiles: 0
m_WindowsDevicePortalAddress:
m_WindowsDevicePortalUsername:

View file

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

View file

@ -185,7 +185,9 @@ TextureImporter:
secondaryTextures: []
spriteCustomMetadata:
entries: []
nameFileIdTable: {}
nameFileIdTable:
Tile - 1 (3x3)_0: -3919252657946185886
Tile - 1 (3x3)_1: 2252516648327138722
mipmapLimitGroupName:
pSDRemoveMatte: 0
userData:

View file

@ -160,7 +160,8 @@ TextureImporter:
secondaryTextures: []
spriteCustomMetadata:
entries: []
nameFileIdTable: {}
nameFileIdTable:
Tile - 2 (3x3)_0: -4552974821837340773
mipmapLimitGroupName:
pSDRemoveMatte: 0
userData:

View file

@ -185,7 +185,9 @@ TextureImporter:
secondaryTextures: []
spriteCustomMetadata:
entries: []
nameFileIdTable: {}
nameFileIdTable:
Tile - 3 (3x3)_0: -1856120612050541693
Tile - 3 (3x3)_1: -3194834109977150931
mipmapLimitGroupName:
pSDRemoveMatte: 0
userData:

View file

@ -160,7 +160,8 @@ TextureImporter:
secondaryTextures: []
spriteCustomMetadata:
entries: []
nameFileIdTable: {}
nameFileIdTable:
Wall - Corner - Inside - 1 (2x2)_0: 5333913732271196674
mipmapLimitGroupName:
pSDRemoveMatte: 0
userData:

View file

@ -185,7 +185,9 @@ TextureImporter:
secondaryTextures: []
spriteCustomMetadata:
entries: []
nameFileIdTable: {}
nameFileIdTable:
Wall - Corner - Inside - 2 (2x2)_0: 6346638165586493755
Wall - Corner - Inside - 2 (2x2)_1: -1248357083966082557
mipmapLimitGroupName:
pSDRemoveMatte: 0
userData:

View file

@ -160,7 +160,8 @@ TextureImporter:
secondaryTextures: []
spriteCustomMetadata:
entries: []
nameFileIdTable: {}
nameFileIdTable:
Wall - Corner - Inside - 3 (2x2)_0: -4129084399032897635
mipmapLimitGroupName:
pSDRemoveMatte: 0
userData:

View file

@ -260,7 +260,12 @@ TextureImporter:
secondaryTextures: []
spriteCustomMetadata:
entries: []
nameFileIdTable: {}
nameFileIdTable:
Wall - Straight (3x2)_0: -6184626004673104965
Wall - Straight (3x2)_1: 4081541500589259921
Wall - Straight (3x2)_2: -6543602355600320580
Wall - Straight (3x2)_3: -8483381536711156237
Wall - Straight (3x2)_4: -6075760466786094576
mipmapLimitGroupName:
pSDRemoveMatte: 0
userData:

View file

@ -185,7 +185,9 @@ TextureImporter:
secondaryTextures: []
spriteCustomMetadata:
entries: []
nameFileIdTable: {}
nameFileIdTable:
Wall - Straight (4x2)_0: 1103017357759410613
Wall - Straight (4x2)_1: -2288597246128621625
mipmapLimitGroupName:
pSDRemoveMatte: 0
userData:

View file

@ -360,7 +360,16 @@ TextureImporter:
secondaryTextures: []
spriteCustomMetadata:
entries: []
nameFileIdTable: {}
nameFileIdTable:
Wall - Straight (5x2)_0: -6920234855970505294
Wall - Straight (5x2)_1: -5753097544510491140
Wall - Straight (5x2)_2: 4620556729664355972
Wall - Straight (5x2)_3: -249517274830882721
Wall - Straight (5x2)_4: -3524026566832319274
Wall - Straight (5x2)_5: 9188333829194110000
Wall - Straight (5x2)_6: 2849944504859318851
Wall - Straight (5x2)_7: -5889297555351426751
Wall - Straight (5x2)_8: 480682305962910330
mipmapLimitGroupName:
pSDRemoveMatte: 0
userData:

View file

@ -160,7 +160,8 @@ TextureImporter:
secondaryTextures: []
spriteCustomMetadata:
entries: []
nameFileIdTable: {}
nameFileIdTable:
Table, cloth, large, blue_0: -706377867732768446
mipmapLimitGroupName:
pSDRemoveMatte: 0
userData:

View file

@ -160,7 +160,8 @@ TextureImporter:
secondaryTextures: []
spriteCustomMetadata:
entries: []
nameFileIdTable: {}
nameFileIdTable:
Table, cloth, large, green_0: -3329506490988377354
mipmapLimitGroupName:
pSDRemoveMatte: 0
userData:

View file

@ -160,7 +160,8 @@ TextureImporter:
secondaryTextures: []
spriteCustomMetadata:
entries: []
nameFileIdTable: {}
nameFileIdTable:
Table, cloth, large, red_0: -5606412432091976979
mipmapLimitGroupName:
pSDRemoveMatte: 0
userData:

View file

@ -35,26 +35,26 @@ MonoBehaviour:
m_List:
- rid: 7752762179098771456
- rid: 7752762179098771457
- rid: 1451893701519343890
- rid: 4022734937275760713
- rid: 7752762179098771459
- rid: 1451893701519343891
- rid: 4022734937275760714
- rid: 7752762179098771461
- rid: 7752762179098771462
- rid: 1451893701519343892
- rid: 4022734937275760715
- rid: 7752762179098771464
- rid: 1451893701519343893
- rid: 4022734937275760716
- rid: 7752762179098771466
- rid: 1451893701519343894
- rid: 4022734937275760717
- rid: 7752762179098771468
- rid: 1451893701519343895
- rid: 1451893701519343896
- rid: 1451893701519343897
- rid: 4022734937275760718
- rid: 4022734937275760719
- rid: 4022734937275760720
- rid: 7752762179098771472
- rid: 1451893701519343898
- rid: 1451893701519343899
- rid: 1451893701519343900
- rid: 4022734937275760721
- rid: 4022734937275760722
- rid: 4022734937275760723
- rid: 7752762179098771476
- rid: 1451893701519343901
- rid: 4022734937275760724
m_RuntimeSettings:
m_List:
- rid: 7752762179098771456
@ -90,7 +90,7 @@ MonoBehaviour:
references:
version: 2
RefIds:
- rid: 1451893701519343890
- rid: 4022734937275760713
type: {class: UniversalRenderPipelineEditorShaders, ns: UnityEngine.Rendering.Universal, asm: Unity.RenderPipelines.Universal.Runtime}
data:
m_AutodeskInteractive: {fileID: 4800000, guid: 0e9d5a909a1f7e84882a534d0d11e49f, type: 3}
@ -102,14 +102,14 @@ MonoBehaviour:
m_DefaultSpeedTree7Shader: {fileID: 4800000, guid: 0f4122b9a743b744abe2fb6a0a88868b, type: 3}
m_DefaultSpeedTree8Shader: {fileID: -6465566751694194690, guid: 9920c1f1781549a46ba081a2a15a16ec, type: 3}
m_DefaultSpeedTree9Shader: {fileID: -6465566751694194690, guid: cbd3e1cc4ae141c42a30e33b4d666a61, type: 3}
- rid: 1451893701519343891
- rid: 4022734937275760714
type: {class: URPShaderStrippingSetting, ns: UnityEngine.Rendering.Universal, asm: Unity.RenderPipelines.Universal.Runtime}
data:
m_Version: 0
m_StripUnusedPostProcessingVariants: 0
m_StripUnusedVariants: 1
m_StripScreenCoordOverrideVariants: 1
- rid: 1451893701519343892
- rid: 4022734937275760715
type: {class: UniversalRendererResources, ns: UnityEngine.Rendering.Universal, asm: Unity.RenderPipelines.Universal.Runtime}
data:
m_Version: 0
@ -117,7 +117,7 @@ MonoBehaviour:
m_CameraMotionVector: {fileID: 4800000, guid: c56b7e0d4c7cb484e959caeeedae9bbf, type: 3}
m_StencilDeferredPS: {fileID: 4800000, guid: e9155b26e1bc55942a41e518703fe304, type: 3}
m_DBufferClear: {fileID: 4800000, guid: f056d8bd2a1c7e44e9729144b4c70395, type: 3}
- rid: 1451893701519343893
- rid: 4022734937275760716
type: {class: UniversalRenderPipelineEditorMaterials, ns: UnityEngine.Rendering.Universal, asm: Unity.RenderPipelines.Universal.Runtime}
data:
m_DefaultMaterial: {fileID: 2100000, guid: 31321ba15b8f8eb4c954353edc038b1d, type: 2}
@ -126,7 +126,7 @@ MonoBehaviour:
m_DefaultTerrainMaterial: {fileID: 2100000, guid: 594ea882c5a793440b60ff72d896021e, type: 2}
m_DefaultDecalMaterial: {fileID: 2100000, guid: 31d0dcc6f2dd4e4408d18036a2c93862, type: 2}
m_DefaultSpriteMaterial: {fileID: 2100000, guid: 9dfc825aed78fcd4ba02077103263b40, type: 2}
- rid: 1451893701519343894
- rid: 4022734937275760717
type: {class: GPUResidentDrawerResources, ns: UnityEngine.Rendering, asm: Unity.RenderPipelines.GPUDriven.Runtime}
data:
m_Version: 0
@ -139,21 +139,21 @@ MonoBehaviour:
m_OcclusionCullingDebugKernels: {fileID: 7200000, guid: b23e766bcf50ca4438ef186b174557df, type: 3}
m_DebugOcclusionTestPS: {fileID: 4800000, guid: d3f0849180c2d0944bc71060693df100, type: 3}
m_DebugOccluderPS: {fileID: 4800000, guid: b3c92426a88625841ab15ca6a7917248, type: 3}
- rid: 1451893701519343895
- rid: 4022734937275760718
type: {class: ProbeVolumeRuntimeResources, ns: UnityEngine.Rendering, asm: Unity.RenderPipelines.Core.Runtime}
data:
m_Version: 1
probeVolumeBlendStatesCS: {fileID: 7200000, guid: a3f7b8c99de28a94684cb1daebeccf5d, type: 3}
probeVolumeUploadDataCS: {fileID: 7200000, guid: 0951de5992461754fa73650732c4954c, type: 3}
probeVolumeUploadDataL2CS: {fileID: 7200000, guid: 6196f34ed825db14b81fb3eb0ea8d931, type: 3}
- rid: 1451893701519343896
- rid: 4022734937275760719
type: {class: IncludeAdditionalRPAssets, ns: UnityEngine.Rendering, asm: Unity.RenderPipelines.Core.Runtime}
data:
m_version: 0
m_IncludeReferencedInScenes: 0
m_IncludeAssetsByLabel: 0
m_LabelToInclude:
- rid: 1451893701519343897
- rid: 4022734937275760720
type: {class: ProbeVolumeBakingResources, ns: UnityEngine.Rendering, asm: Unity.RenderPipelines.Core.Runtime}
data:
m_Version: 1
@ -166,7 +166,7 @@ MonoBehaviour:
skyOcclusionRT: {fileID: -5126288278712620388, guid: 5a2a534753fbdb44e96c3c78b5a6999d, type: 3}
renderingLayerCS: {fileID: -6772857160820960102, guid: 94a070d33e408384bafc1dea4a565df9, type: 3}
renderingLayerRT: {fileID: -5126288278712620388, guid: 94a070d33e408384bafc1dea4a565df9, type: 3}
- rid: 1451893701519343898
- rid: 4022734937275760721
type: {class: ProbeVolumeDebugResources, ns: UnityEngine.Rendering, asm: Unity.RenderPipelines.Core.Runtime}
data:
m_Version: 1
@ -176,18 +176,18 @@ MonoBehaviour:
probeVolumeOffsetDebugShader: {fileID: 4800000, guid: db8bd7436dc2c5f4c92655307d198381, type: 3}
probeSamplingDebugMesh: {fileID: -3555484719484374845, guid: 20be25aac4e22ee49a7db76fb3df6de2, type: 3}
numbersDisplayTex: {fileID: 2800000, guid: 73fe53b428c5b3440b7e87ee830b608a, type: 3}
- rid: 1451893701519343899
- rid: 4022734937275760722
type: {class: STP/RuntimeResources, ns: UnityEngine.Rendering, asm: Unity.RenderPipelines.Core.Runtime}
data:
m_setupCS: {fileID: 7200000, guid: 33be2e9a5506b2843bdb2bdff9cad5e1, type: 3}
m_preTaaCS: {fileID: 7200000, guid: a679dba8ec4d9ce45884a270b0e22dda, type: 3}
m_taaCS: {fileID: 7200000, guid: 3923900e2b41b5e47bc25bfdcbcdc9e6, type: 3}
- rid: 1451893701519343900
- rid: 4022734937275760723
type: {class: ProbeVolumeGlobalSettings, ns: UnityEngine.Rendering, asm: Unity.RenderPipelines.Core.Runtime}
data:
m_Version: 1
m_ProbeVolumeDisableStreamingAssets: 0
- rid: 1451893701519343901
- rid: 4022734937275760724
type: {class: UniversalRenderPipelineEditorAssets, ns: UnityEngine.Rendering.Universal, asm: Unity.RenderPipelines.Universal.Runtime}
data:
m_DefaultSettingsVolumeProfile: {fileID: 11400000, guid: eda47df5b85f4f249abf7abd73db2cb2, type: 2}