From 3253a6a5d8b985d511c31e9ab605adf5320be17a Mon Sep 17 00:00:00 2001 From: momintlh <77355191+momintlh@users.noreply.github.com> Date: Fri, 16 Aug 2024 11:26:51 +0500 Subject: [PATCH 1/6] feat: discord template --- Assets/Editor.meta | 8 + Assets/Editor/Src.meta | 8 + Assets/Editor/Src/Generator.meta | 8 + Assets/Editor/Src/Generator/IL2Cpp.meta | 8 + Assets/Prefabs/Bean.prefab | 503 ++++++++++++++++++ Assets/Prefabs/Bean.prefab.meta | 7 + Assets/Prefabs/IsometricPlayer.prefab | 108 +++- Assets/Scenes/3d-Isometric.unity | 4 +- Assets/Scripts/IsometricManager.cs | 41 +- Assets/WebGLTemplates.meta | 8 + Assets/WebGLTemplates/Discord.meta | 8 + .../WebGLTemplates/Discord/TemplateData.meta | 8 + .../Discord/TemplateData/MemoryProfiler.png | Bin 0 -> 665 bytes .../TemplateData/MemoryProfiler.png.meta | 127 +++++ .../Discord/TemplateData/favicon.ico | Bin 0 -> 2305 bytes .../Discord/TemplateData/favicon.ico.meta | 7 + .../TemplateData/fullscreen-button.png | Bin 0 -> 175 bytes .../TemplateData/fullscreen-button.png.meta | 127 +++++ .../TemplateData/progress-bar-empty-dark.png | Bin 0 -> 96 bytes .../progress-bar-empty-dark.png.meta | 127 +++++ .../TemplateData/progress-bar-empty-light.png | Bin 0 -> 109 bytes .../progress-bar-empty-light.png.meta | 127 +++++ .../TemplateData/progress-bar-full-dark.png | Bin 0 -> 74 bytes .../progress-bar-full-dark.png.meta | 127 +++++ .../TemplateData/progress-bar-full-light.png | Bin 0 -> 84 bytes .../progress-bar-full-light.png.meta | 127 +++++ .../Discord/TemplateData/style.css | 16 + .../Discord/TemplateData/style.css.meta | 7 + .../Discord/TemplateData/unity-logo-dark.png | Bin 0 -> 3042 bytes .../TemplateData/unity-logo-dark.png.meta | 127 +++++ .../Discord/TemplateData/unity-logo-light.png | Bin 0 -> 3077 bytes .../TemplateData/unity-logo-light.png.meta | 127 +++++ .../Discord/TemplateData/webgl-logo.png | Bin 0 -> 2947 bytes .../Discord/TemplateData/webgl-logo.png.meta | 127 +++++ .../Discord/TemplateData/webmemd-icon.png | Bin 0 -> 1670 bytes .../TemplateData/webmemd-icon.png.meta | 127 +++++ Assets/WebGLTemplates/Discord/index.html | 158 ++++++ Assets/WebGLTemplates/Discord/index.html.meta | 7 + Assets/WebGLTemplates/Discord/thumbnail.png | Bin 0 -> 5256 bytes .../WebGLTemplates/Discord/thumbnail.png.meta | 127 +++++ ProjectSettings/EditorBuildSettings.asset | 4 +- ProjectSettings/ProjectSettings.asset | 58 +- 42 files changed, 2324 insertions(+), 49 deletions(-) create mode 100644 Assets/Editor.meta create mode 100644 Assets/Editor/Src.meta create mode 100644 Assets/Editor/Src/Generator.meta create mode 100644 Assets/Editor/Src/Generator/IL2Cpp.meta create mode 100644 Assets/Prefabs/Bean.prefab create mode 100644 Assets/Prefabs/Bean.prefab.meta create mode 100644 Assets/WebGLTemplates.meta create mode 100644 Assets/WebGLTemplates/Discord.meta create mode 100644 Assets/WebGLTemplates/Discord/TemplateData.meta create mode 100644 Assets/WebGLTemplates/Discord/TemplateData/MemoryProfiler.png create mode 100644 Assets/WebGLTemplates/Discord/TemplateData/MemoryProfiler.png.meta create mode 100644 Assets/WebGLTemplates/Discord/TemplateData/favicon.ico create mode 100644 Assets/WebGLTemplates/Discord/TemplateData/favicon.ico.meta create mode 100644 Assets/WebGLTemplates/Discord/TemplateData/fullscreen-button.png create mode 100644 Assets/WebGLTemplates/Discord/TemplateData/fullscreen-button.png.meta create mode 100644 Assets/WebGLTemplates/Discord/TemplateData/progress-bar-empty-dark.png create mode 100644 Assets/WebGLTemplates/Discord/TemplateData/progress-bar-empty-dark.png.meta create mode 100644 Assets/WebGLTemplates/Discord/TemplateData/progress-bar-empty-light.png create mode 100644 Assets/WebGLTemplates/Discord/TemplateData/progress-bar-empty-light.png.meta create mode 100644 Assets/WebGLTemplates/Discord/TemplateData/progress-bar-full-dark.png create mode 100644 Assets/WebGLTemplates/Discord/TemplateData/progress-bar-full-dark.png.meta create mode 100644 Assets/WebGLTemplates/Discord/TemplateData/progress-bar-full-light.png create mode 100644 Assets/WebGLTemplates/Discord/TemplateData/progress-bar-full-light.png.meta create mode 100644 Assets/WebGLTemplates/Discord/TemplateData/style.css create mode 100644 Assets/WebGLTemplates/Discord/TemplateData/style.css.meta create mode 100644 Assets/WebGLTemplates/Discord/TemplateData/unity-logo-dark.png create mode 100644 Assets/WebGLTemplates/Discord/TemplateData/unity-logo-dark.png.meta create mode 100644 Assets/WebGLTemplates/Discord/TemplateData/unity-logo-light.png create mode 100644 Assets/WebGLTemplates/Discord/TemplateData/unity-logo-light.png.meta create mode 100644 Assets/WebGLTemplates/Discord/TemplateData/webgl-logo.png create mode 100644 Assets/WebGLTemplates/Discord/TemplateData/webgl-logo.png.meta create mode 100644 Assets/WebGLTemplates/Discord/TemplateData/webmemd-icon.png create mode 100644 Assets/WebGLTemplates/Discord/TemplateData/webmemd-icon.png.meta create mode 100644 Assets/WebGLTemplates/Discord/index.html create mode 100644 Assets/WebGLTemplates/Discord/index.html.meta create mode 100644 Assets/WebGLTemplates/Discord/thumbnail.png create mode 100644 Assets/WebGLTemplates/Discord/thumbnail.png.meta diff --git a/Assets/Editor.meta b/Assets/Editor.meta new file mode 100644 index 0000000..7560566 --- /dev/null +++ b/Assets/Editor.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 24eca9c9e27ee904aa96c69d618b5141 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Editor/Src.meta b/Assets/Editor/Src.meta new file mode 100644 index 0000000..4f9e358 --- /dev/null +++ b/Assets/Editor/Src.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 6b071940a509e854da77cd800630e602 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Editor/Src/Generator.meta b/Assets/Editor/Src/Generator.meta new file mode 100644 index 0000000..aa79955 --- /dev/null +++ b/Assets/Editor/Src/Generator.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: cbb09875ce099e04788282a0acf2633b +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Editor/Src/Generator/IL2Cpp.meta b/Assets/Editor/Src/Generator/IL2Cpp.meta new file mode 100644 index 0000000..8e1e13c --- /dev/null +++ b/Assets/Editor/Src/Generator/IL2Cpp.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 8060c87c89de38647944f98ec82f9820 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Prefabs/Bean.prefab b/Assets/Prefabs/Bean.prefab new file mode 100644 index 0000000..41de1f4 --- /dev/null +++ b/Assets/Prefabs/Bean.prefab @@ -0,0 +1,503 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1 &1863256557677114824 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 3631637207495431286} + m_Layer: 0 + m_Name: Face + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &3631637207495431286 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1863256557677114824} + serializedVersion: 2 + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: + - {fileID: 8425009733449007486} + - {fileID: 3343518637275282868} + - {fileID: 552636050378250559} + m_Father: {fileID: 8050795998415906310} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &1988662005794548369 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 3343518637275282868} + - component: {fileID: 3483271775334715904} + - component: {fileID: 7063834526761338042} + - component: {fileID: 1146680323165906946} + m_Layer: 0 + m_Name: Sphere (1) + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &3343518637275282868 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1988662005794548369} + serializedVersion: 2 + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: -0.2, y: 0.54999995, z: 0.45} + m_LocalScale: {x: 0.3, y: 0.3, z: 0.3} + m_ConstrainProportionsScale: 1 + m_Children: [] + m_Father: {fileID: 3631637207495431286} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!33 &3483271775334715904 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1988662005794548369} + m_Mesh: {fileID: 10207, guid: 0000000000000000e000000000000000, type: 0} +--- !u!23 &7063834526761338042 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1988662005794548369} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_StaticShadowCaster: 0 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 2 + m_RayTraceProcedural: 0 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_ReceiveGI: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 + m_AdditionalVertexStreams: {fileID: 0} +--- !u!135 &1146680323165906946 +SphereCollider: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1988662005794548369} + m_Material: {fileID: 0} + m_IncludeLayers: + serializedVersion: 2 + m_Bits: 0 + m_ExcludeLayers: + serializedVersion: 2 + m_Bits: 0 + m_LayerOverridePriority: 0 + m_IsTrigger: 0 + m_ProvidesContacts: 0 + m_Enabled: 0 + serializedVersion: 3 + m_Radius: 0.5 + m_Center: {x: 0, y: 0, z: 0} +--- !u!1 &2543869977547438573 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 552636050378250559} + - component: {fileID: 2197537696543869783} + - component: {fileID: 769364686542762576} + - component: {fileID: 5459443770786394291} + m_Layer: 0 + m_Name: Sphere + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &552636050378250559 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2543869977547438573} + serializedVersion: 2 + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0.2, y: 0.5999999, z: 0.4} + m_LocalScale: {x: 0.4, y: 0.4, z: 0.4} + m_ConstrainProportionsScale: 1 + m_Children: [] + m_Father: {fileID: 3631637207495431286} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!33 &2197537696543869783 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2543869977547438573} + m_Mesh: {fileID: 10207, guid: 0000000000000000e000000000000000, type: 0} +--- !u!23 &769364686542762576 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2543869977547438573} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_StaticShadowCaster: 0 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 2 + m_RayTraceProcedural: 0 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_ReceiveGI: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 + m_AdditionalVertexStreams: {fileID: 0} +--- !u!135 &5459443770786394291 +SphereCollider: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2543869977547438573} + m_Material: {fileID: 0} + m_IncludeLayers: + serializedVersion: 2 + m_Bits: 0 + m_ExcludeLayers: + serializedVersion: 2 + m_Bits: 0 + m_LayerOverridePriority: 0 + m_IsTrigger: 0 + m_ProvidesContacts: 0 + m_Enabled: 0 + serializedVersion: 3 + m_Radius: 0.5 + m_Center: {x: 0, y: 0, z: 0} +--- !u!1 &2603315019977810228 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 8050795998415906310} + - component: {fileID: 2169756223537510908} + - component: {fileID: 2829385134996929394} + - component: {fileID: 6524546417377390673} + - component: {fileID: 5791266554322587629} + - component: {fileID: 294330903329326172} + m_Layer: 0 + m_Name: Bean + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &8050795998415906310 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2603315019977810228} + serializedVersion: 2 + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 2, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: + - {fileID: 3631637207495431286} + m_Father: {fileID: 0} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!33 &2169756223537510908 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2603315019977810228} + m_Mesh: {fileID: 10208, guid: 0000000000000000e000000000000000, type: 0} +--- !u!23 &2829385134996929394 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2603315019977810228} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_StaticShadowCaster: 0 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 2 + m_RayTraceProcedural: 0 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 2100000, guid: 7aabbde4381f93240a8176e9281d8533, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_ReceiveGI: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 + m_AdditionalVertexStreams: {fileID: 0} +--- !u!114 &6524546417377390673 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2603315019977810228} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 04d8d418385e58d4689d3dcb9081ee41, type: 3} + m_Name: + m_EditorClassIdentifier: + _rb: {fileID: 5791266554322587629} + _speed: 5 + _turnSpeed: 360 +--- !u!54 &5791266554322587629 +Rigidbody: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2603315019977810228} + serializedVersion: 4 + m_Mass: 1 + m_Drag: 0 + m_AngularDrag: 0.05 + m_CenterOfMass: {x: 0, y: 0, z: 0} + m_InertiaTensor: {x: 1, y: 1, z: 1} + m_InertiaRotation: {x: 0, y: 0, z: 0, w: 1} + m_IncludeLayers: + serializedVersion: 2 + m_Bits: 0 + m_ExcludeLayers: + serializedVersion: 2 + m_Bits: 0 + m_ImplicitCom: 1 + m_ImplicitTensor: 1 + m_UseGravity: 1 + m_IsKinematic: 0 + m_Interpolate: 0 + m_Constraints: 0 + m_CollisionDetection: 0 +--- !u!136 &294330903329326172 +CapsuleCollider: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2603315019977810228} + m_Material: {fileID: 0} + m_IncludeLayers: + serializedVersion: 2 + m_Bits: 0 + m_ExcludeLayers: + serializedVersion: 2 + m_Bits: 0 + m_LayerOverridePriority: 0 + m_IsTrigger: 0 + m_ProvidesContacts: 0 + m_Enabled: 1 + serializedVersion: 2 + m_Radius: 0.5 + m_Height: 1.9999999 + m_Direction: 1 + m_Center: {x: 0, y: 0, z: 0} +--- !u!1 &8537344294407844853 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 8425009733449007486} + - component: {fileID: 2620485242000090772} + - component: {fileID: 4431101871199038796} + - component: {fileID: 1071749975326796965} + m_Layer: 0 + m_Name: Cube + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &8425009733449007486 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8537344294407844853} + serializedVersion: 2 + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0.22200012, z: 0.5} + m_LocalScale: {x: 0.5, y: 0.05, z: 0.1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 3631637207495431286} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!33 &2620485242000090772 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8537344294407844853} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!23 &4431101871199038796 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8537344294407844853} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_StaticShadowCaster: 0 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 2 + m_RayTraceProcedural: 0 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_ReceiveGI: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 + m_AdditionalVertexStreams: {fileID: 0} +--- !u!65 &1071749975326796965 +BoxCollider: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 8537344294407844853} + m_Material: {fileID: 0} + m_IncludeLayers: + serializedVersion: 2 + m_Bits: 0 + m_ExcludeLayers: + serializedVersion: 2 + m_Bits: 0 + m_LayerOverridePriority: 0 + m_IsTrigger: 0 + m_ProvidesContacts: 0 + m_Enabled: 0 + serializedVersion: 3 + m_Size: {x: 1, y: 1, z: 1} + m_Center: {x: 0, y: 0, z: 0} diff --git a/Assets/Prefabs/Bean.prefab.meta b/Assets/Prefabs/Bean.prefab.meta new file mode 100644 index 0000000..2e2619c --- /dev/null +++ b/Assets/Prefabs/Bean.prefab.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: fe9e0acaef8799a44b1a27e71928eb40 +PrefabImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Prefabs/IsometricPlayer.prefab b/Assets/Prefabs/IsometricPlayer.prefab index 3024aff..93d5f51 100644 --- a/Assets/Prefabs/IsometricPlayer.prefab +++ b/Assets/Prefabs/IsometricPlayer.prefab @@ -33,7 +33,8 @@ Transform: m_LocalPosition: {x: 0, y: 2, z: 0} m_LocalScale: {x: 0.6, y: 0.6, z: 1} m_ConstrainProportionsScale: 0 - m_Children: [] + m_Children: + - {fileID: 3511744816749012239} m_Father: {fileID: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!33 &2169756223537510908 @@ -149,3 +150,108 @@ BoxCollider: serializedVersion: 3 m_Size: {x: 1, y: 0.99999994, z: 0.99999994} m_Center: {x: 0, y: 0, z: 0} +--- !u!1 &4235077748483245160 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 3511744816749012239} + - component: {fileID: 166124084730300124} + - component: {fileID: 4889690407840522861} + - component: {fileID: 2288407999267381681} + m_Layer: 0 + m_Name: Cube + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 0 +--- !u!4 &3511744816749012239 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4235077748483245160} + serializedVersion: 2 + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0.5} + m_LocalScale: {x: 0.5, y: 0.5, z: 0.5} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 8050795998415906310} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!33 &166124084730300124 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4235077748483245160} + m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} +--- !u!23 &4889690407840522861 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4235077748483245160} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_StaticShadowCaster: 0 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 2 + m_RayTraceProcedural: 0 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_ReceiveGI: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 + m_AdditionalVertexStreams: {fileID: 0} +--- !u!65 &2288407999267381681 +BoxCollider: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 4235077748483245160} + m_Material: {fileID: 0} + m_IncludeLayers: + serializedVersion: 2 + m_Bits: 0 + m_ExcludeLayers: + serializedVersion: 2 + m_Bits: 0 + m_LayerOverridePriority: 0 + m_IsTrigger: 0 + m_ProvidesContacts: 0 + m_Enabled: 1 + serializedVersion: 3 + m_Size: {x: 0.9999999, y: 0.9999999, z: 1} + m_Center: {x: 0, y: 0.00000011920928, z: 0} diff --git a/Assets/Scenes/3d-Isometric.unity b/Assets/Scenes/3d-Isometric.unity index f0ec755..f7b7c50 100644 --- a/Assets/Scenes/3d-Isometric.unity +++ b/Assets/Scenes/3d-Isometric.unity @@ -38,7 +38,7 @@ RenderSettings: m_ReflectionIntensity: 1 m_CustomReflection: {fileID: 0} m_Sun: {fileID: 1429187865} - m_IndirectSpecularColor: {r: 0.44657826, g: 0.49641263, b: 0.57481676, a: 1} + m_IndirectSpecularColor: {r: 0.44657844, g: 0.49641222, b: 0.57481694, a: 1} m_UseRadianceAmbientProbe: 0 --- !u!157 &3 LightmapSettings: @@ -490,7 +490,7 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: a0d1809cb7aa6b44b8ec49e38137d598, type: 3} m_Name: m_EditorClassIdentifier: - playerPrefab: {fileID: 2603315019977810228, guid: 5a9dd3b594546ae40a72506b10f8a0cd, type: 3} + playerPrefab: {fileID: 2603315019977810228, guid: fe9e0acaef8799a44b1a27e71928eb40, type: 3} --- !u!1660057539 &9223372036854775807 SceneRoots: m_ObjectHideFlags: 0 diff --git a/Assets/Scripts/IsometricManager.cs b/Assets/Scripts/IsometricManager.cs index e0e2af7..78524f1 100644 --- a/Assets/Scripts/IsometricManager.cs +++ b/Assets/Scripts/IsometricManager.cs @@ -1,37 +1,32 @@ using System; using System.Collections.Generic; -using UnityEngine; -using UnityEngine.UI; using AOT; using Playroom; +using UnityEngine; using Random = UnityEngine.Random; - public class IsometricManager : MonoBehaviour { - - [SerializeField] private GameObject playerPrefab; private static readonly List players = new(); private static readonly List playerGameObjects = new(); - private static Dictionary PlayerDict = new(); + private static readonly Dictionary PlayerDict = new(); [SerializeField] private static bool playerJoined; + [SerializeField] private GameObject playerPrefab; + private void Awake() { - PlayroomKit.InsertCoin(new PlayroomKit.InitOptions() + PlayroomKit.InsertCoin(new PlayroomKit.InitOptions { maxPlayersPerRoom = 3, matchmaking = false, - - }, () => - { - PlayroomKit.OnPlayerJoin(AddPlayer); - }); - + gameId = "iQwdxMdv3fCASVrghYgf", + discord = true + }, () => { PlayroomKit.OnPlayerJoin(AddPlayer); }); } private void Update() @@ -46,29 +41,23 @@ private void Update() playerGameObjects[i].GetComponent().Move(); players[i].SetState("move", playerGameObjects[i].GetComponent().position); - } for (var i = 0; i < players.Count; i++) - { if (players[i] != null) { var pos = players[i].GetState("move"); var rotate = players[i].GetState("angle"); if (playerGameObjects[i] != null) - { playerGameObjects[i].GetComponent().SetPositionAndRotation(pos, rotate); - } } - } } public void AddPlayer(PlayroomKit.Player player) { - - GameObject playerObj = Instantiate(playerPrefab, + var playerObj = Instantiate(playerPrefab, new Vector3(Random.Range(-5, 5), 2f, Random.Range(-5, 5)), Quaternion.identity); playerObj.GetComponent().material.color = player.GetProfile().color; @@ -78,23 +67,18 @@ public void AddPlayer(PlayroomKit.Player player) playerGameObjects.Add(playerObj); - for (int i = 0; i < players.Count; i++) - { - Debug.Log($"player at index {i} is {players[i].GetProfile().name}"); - } + for (var i = 0; i < players.Count; i++) Debug.Log($"player at index {i} is {players[i].GetProfile().name}"); playerJoined = true; player.OnQuit(RemovePlayer); - } - [MonoPInvokeCallback(typeof(Action))] private static void RemovePlayer(string playerID) { - if (PlayerDict.TryGetValue(playerID, out GameObject player)) + if (PlayerDict.TryGetValue(playerID, out var player)) { PlayerDict.Remove(playerID); playerGameObjects.Remove(player); @@ -104,6 +88,5 @@ private static void RemovePlayer(string playerID) { Debug.LogWarning("player not in dict"); } - } -} +} \ No newline at end of file diff --git a/Assets/WebGLTemplates.meta b/Assets/WebGLTemplates.meta new file mode 100644 index 0000000..01be040 --- /dev/null +++ b/Assets/WebGLTemplates.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 166d7b2c38dceb841b4ea13b3befecea +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/WebGLTemplates/Discord.meta b/Assets/WebGLTemplates/Discord.meta new file mode 100644 index 0000000..38205e1 --- /dev/null +++ b/Assets/WebGLTemplates/Discord.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 05b805d62af01c440a3aac1a543bd4a5 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/WebGLTemplates/Discord/TemplateData.meta b/Assets/WebGLTemplates/Discord/TemplateData.meta new file mode 100644 index 0000000..475a30e --- /dev/null +++ b/Assets/WebGLTemplates/Discord/TemplateData.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 305b5b9133062f748931729b69659e14 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/WebGLTemplates/Discord/TemplateData/MemoryProfiler.png b/Assets/WebGLTemplates/Discord/TemplateData/MemoryProfiler.png new file mode 100644 index 0000000000000000000000000000000000000000..2e264c7be1ed0f2bcc336aaf38c409ec61ccf4a9 GIT binary patch literal 665 zcmV;K0%rY*P)-5U3zXe8df?Afy6F1%V2H8v+hX1&|I%1-OHdGrznStyc!IAG1ri z@T3)Ed+Zs{yqR5uxFICUc#Zi-Y9+*+tFMG05@s@)4>)0o=#curjQ~iN*B6dS z2-M+39rMBi4V=*j)4vdf94^E>PjvHn9NTpH_e1+@A z38d&p-w?XFC{E}N$zyJbQp}@bq?%*+S$@uN1^qj%_jD&Z_0x}*aq zfpm10jA*o!Y|;s3ggJgub<*kdGsI8I;syu5(EIZue8qXI1=7yYJ~0L<@V<`TTQ0hTIjEuQO(2^^ zl5LOMnpxCWKe%*avh$^l{oq7n#Mamg-*RH7YXUQKPw1(o{qa|%?f-}@PPDT)KE6Bi z*Mk+O3HV3M6pggKPBUR<^PqJ;t@p=#Zsv6j4S-1upLlWk(0G}K2l!1?p{@50gJs>> z*7mTfJM3@@0`YxFV_C@vn(s!aow{JJ2|sG}o#^{C+BY|M9{jr^Ne*HSH2sc^A5uID zjO!DBe-(j;4|87!vyXI$YtY%DB!6G-Zr0yoo=@ZQZctFzddh2woBxc(0tfhV$F-INwIy(41Y8vR5@y405 zS3A3=S2?lU04td7MI3*>=k2EF4edW*P%C#Imx&3HkDKVgDrRWdfF${zLmQ3t2V}zr z<}dlHic|7JN$9Sg1mS3ucr@Ekl7itK$rp@jQqg8b=2pOs6d7exz*Kut+B5{BskIRp zd6b_{?6%FUC)&Lq66WmwE|%tlF5}rpOD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%)Tsab+fk zWyZWAXx1v#ye{Bo%h&2Nlt{{!r#s&vBNNQa;vCGMctl9N@vAII`w{_8=a$Nc3Kl59 zfpOJ{7*t=Gq`7*kI`!cG1MbP0l+XkK D*ti=j literal 0 HcmV?d00001 diff --git a/Assets/WebGLTemplates/Discord/TemplateData/progress-bar-empty-light.png.meta b/Assets/WebGLTemplates/Discord/TemplateData/progress-bar-empty-light.png.meta new file mode 100644 index 0000000..0fbc3cd --- /dev/null +++ b/Assets/WebGLTemplates/Discord/TemplateData/progress-bar-empty-light.png.meta @@ -0,0 +1,127 @@ +fileFormatVersion: 2 +guid: e82817db938fd1244a3b00d96cbc2afb +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 12 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + flipGreenChannel: 0 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + vTOnly: 0 + ignoreMipmapLimit: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 1 + aniso: 1 + mipBias: 0 + wrapU: 1 + wrapV: 1 + wrapW: 1 + nPOTScale: 0 + lightmap: 0 + compressionQuality: 50 + spriteMode: 1 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 1 + spriteTessellationDetail: -1 + textureType: 8 + textureShape: 1 + singleChannelComponent: 0 + flipbookRows: 1 + flipbookColumns: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + ignorePngGamma: 0 + applyGammaDecoding: 0 + swizzle: 50462976 + cookieLightType: 0 + platformSettings: + - serializedVersion: 3 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Standalone + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: WebGL + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + bones: [] + spriteID: 5e97eb03825dee720800000000000000 + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + nameFileIdTable: {} + mipmapLimitGroupName: + pSDRemoveMatte: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/WebGLTemplates/Discord/TemplateData/progress-bar-full-dark.png b/Assets/WebGLTemplates/Discord/TemplateData/progress-bar-full-dark.png new file mode 100644 index 0000000000000000000000000000000000000000..c432c8666d955307ec7c690ef3624e50093513fe GIT binary patch literal 74 zcmeAS@N?(olHy`uVBq!ia0vp^y+AC)2qYN%L=)x#DM3#c$B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ixzk kAP@)y0)apv5ICFv0X^P^&&+3ly8r+H07*qoM6N<$f*y66+yDRo literal 0 HcmV?d00001 diff --git a/Assets/WebGLTemplates/Discord/TemplateData/unity-logo-dark.png.meta b/Assets/WebGLTemplates/Discord/TemplateData/unity-logo-dark.png.meta new file mode 100644 index 0000000..2adb8cd --- /dev/null +++ b/Assets/WebGLTemplates/Discord/TemplateData/unity-logo-dark.png.meta @@ -0,0 +1,127 @@ +fileFormatVersion: 2 +guid: 3367a446884b40442b25d9409a8a7b3a +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 12 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + flipGreenChannel: 0 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + vTOnly: 0 + ignoreMipmapLimit: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 1 + aniso: 1 + mipBias: 0 + wrapU: 1 + wrapV: 1 + wrapW: 1 + nPOTScale: 0 + lightmap: 0 + compressionQuality: 50 + spriteMode: 1 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 1 + spriteTessellationDetail: -1 + textureType: 8 + textureShape: 1 + singleChannelComponent: 0 + flipbookRows: 1 + flipbookColumns: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + ignorePngGamma: 0 + applyGammaDecoding: 0 + swizzle: 50462976 + cookieLightType: 0 + platformSettings: + - serializedVersion: 3 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Standalone + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: WebGL + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + bones: [] + spriteID: 5e97eb03825dee720800000000000000 + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + nameFileIdTable: {} + mipmapLimitGroupName: + pSDRemoveMatte: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/WebGLTemplates/Discord/TemplateData/unity-logo-light.png b/Assets/WebGLTemplates/Discord/TemplateData/unity-logo-light.png new file mode 100644 index 0000000000000000000000000000000000000000..9f0ab84b9d5f75c2c2de21c18d382c8d7adff393 GIT binary patch literal 3077 zcmZ`*dpHyP7oT#Ud$v~*HX{sa#2Q`9hUtBmBG%?Di(GP96UrrpY0Pz~H@5Z5N+dLz z>l<1wQ50crDTY+YErmwE)${xJ_dMV8J{lD#RWcS52RF1Vb!2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w>E`qBD$Y0dZ;La$z}?~fF+O$ zMLCJ&23-b!A#E{lA#WbemcRlGAWtoBvcp5MnuG1<%D&TD^uanbnAFq%CfaN_dTt}P z$e0zISs7!&EP-{_AW`Z(4i7IFo^(_nUVbA?s)$yXZ7=r`M}R;%-PJek?9zBh3gu(c zMsA65DYpVWyBhQeMc%%9oc|er(u~X(*@oL;OAwV2oYeL0nWY@1v`U`Y?6rlj3h#`b ze2YB2;62zisUJ~x46W%zl*=UNzc>x~-aQ7nnKl^m#aE?sOJ&p-j#I7&+~{{G{cnQ} zAU?lBCSj*7UGfAe(T?$GZ)ugGLYH;GmDy9w_=g@5I=7KL4}1=dJ+Hm__W@dSfWZ;B zlVN!D__OfBNAsdC{ux=GH0fE@CQw=#3~FAO)mHa z6dQ3IxbN-!+)ODp9D4bwszgDmR9B03T4Cp6)aO)jY@Bf+93yJGJZhJfIOBr=pc3+USbUi6#ccM8VXd9-lEkwZcYT^#UX>aDE zRLyw_#nQSsm$7?FUcLrecgpCdssi_l8COb$B2o`5V9m8VI6=6Qmz2>bN?xBEQFTP# zn1cs6`~}JpiE)1gwQx-RNbgq*-$3)rv#%7NQC!NNFj831q&3IgdUbUiq#2*NLEj5dZ33$1naD DiO(b9 literal 0 HcmV?d00001 diff --git a/Assets/WebGLTemplates/Discord/TemplateData/webmemd-icon.png.meta b/Assets/WebGLTemplates/Discord/TemplateData/webmemd-icon.png.meta new file mode 100644 index 0000000..e8379a8 --- /dev/null +++ b/Assets/WebGLTemplates/Discord/TemplateData/webmemd-icon.png.meta @@ -0,0 +1,127 @@ +fileFormatVersion: 2 +guid: 20c87a2d44a1550448365a1500c4d208 +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 12 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + flipGreenChannel: 0 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + vTOnly: 0 + ignoreMipmapLimit: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 1 + aniso: 1 + mipBias: 0 + wrapU: 1 + wrapV: 1 + wrapW: 1 + nPOTScale: 0 + lightmap: 0 + compressionQuality: 50 + spriteMode: 1 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 1 + spriteTessellationDetail: -1 + textureType: 8 + textureShape: 1 + singleChannelComponent: 0 + flipbookRows: 1 + flipbookColumns: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + ignorePngGamma: 0 + applyGammaDecoding: 0 + swizzle: 50462976 + cookieLightType: 0 + platformSettings: + - serializedVersion: 3 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Standalone + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: WebGL + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + bones: [] + spriteID: 5e97eb03825dee720800000000000000 + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + nameFileIdTable: {} + mipmapLimitGroupName: + pSDRemoveMatte: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/WebGLTemplates/Discord/index.html b/Assets/WebGLTemplates/Discord/index.html new file mode 100644 index 0000000..1d51dc8 --- /dev/null +++ b/Assets/WebGLTemplates/Discord/index.html @@ -0,0 +1,158 @@ + + + + + + Unity WebGL Player | {{{ PRODUCT_NAME }}} + + +#if SHOW_DIAGNOSTICS + + +#endif + + +
+ +
+ +
+
+
+
+
+ +
+ + + diff --git a/Assets/WebGLTemplates/Discord/index.html.meta b/Assets/WebGLTemplates/Discord/index.html.meta new file mode 100644 index 0000000..809368d --- /dev/null +++ b/Assets/WebGLTemplates/Discord/index.html.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 2c99d050eb633154faf7c26791ecaaa8 +TextScriptImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/WebGLTemplates/Discord/thumbnail.png b/Assets/WebGLTemplates/Discord/thumbnail.png new file mode 100644 index 0000000000000000000000000000000000000000..ae7c9208e64bf6d2851c049b8c8aa4f354af6a42 GIT binary patch literal 5256 zcmb_eWl$7Q*IqhAx*I9!lonWF0qK@*SrDWIw?wNaMo;h>xndiADPFGv?DIq-}004OUT1{F1F+=_v_?VBYrp0CcW5Nal zwSWKsEI90stWQ2LPZO@s^AB2LK3# zoRySxUn?oG>Uz05I=j9F0Mrl#S^kEGzo}!!;r>Czqr#Z_A6I|;1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v* z!ItEn^)n?0tyxqIp*rvv1RMY3{|l8Yh|q&f+_klb0Hj2rY=VfE*8w*Pn}`ZOH@~&* zS`l~t=yG+{3McfBtrYO^JMR~0M6Iz)6FppeE%LKSrd2&uJ_)1aYR5wWFz+fMmD-6F zbw5?)oXjYFwv)ouO%f^m6`jFupD`2BBU{}BgOTmfI7tKt1%=&E#?a++T%Yi4e8Q8G zbrpFx!vr6B*TQgGSgcsO=P4XsY8#~oMj?HmB*;~)bu-8e2Ik`8;%Y}=1{4YwruC7r zd=%o{&3Q3!pDU)Wu5JsF0tSOyT3S>=AX{q^5|VEVj0_BqEi&|Kup+}kKc6K5o6s=dX$310>z4~{r zSk@XEQtQU%+HY~K6$RM*m4f!X725_{ABV`F0@1q7b|9hD8ez1SYgfT7YkHE@IYM|C50 zZBl3F3~O}ODCK1C{I|HBeD-tW<3Bdf#chz)Tg~0z;KBnfWw{Pp-ljY_-wl}8OS%rv zha8$3?2o>4)Ey_f*Yc{oT6ED#4rRF6(PO^`TCyGRR^98d;^!qbUQVf zIVm0rE5YILV)SIGDh0Q86z_Ka`OdgK^YzV5F^PE>Nt-n+IX6rET!pB>pQrW?s-UM5l$7bzjLb|4~Jdemu+ zMH~4}!K0sATX#JgE+U1+-^XV?JA+HBCrYunu8#N|3nd{g&I)AfwPF4Yc6R1*B=FKR zGNP)H3%MpuPo1aNTs@7v1>9Yq4EToE+W@)dT(C?yqU+l#whWctmq zzrP;`56^x|(Zs=lW7%deqn#&#q27G@_;=n*U*>mTjA6N1g=mAwd&=E@$scwen2H)2 z!;h~lGL<&kbqupHsTT1SzDq+07ugKnEQme06PW={hecaK+1LGS7!m(Fys|x1h{P{c VjsS!oKhAi7*C1`>x>q(4{{cEv?@9mw literal 0 HcmV?d00001 diff --git a/Assets/WebGLTemplates/Discord/thumbnail.png.meta b/Assets/WebGLTemplates/Discord/thumbnail.png.meta new file mode 100644 index 0000000..1cbdcbb --- /dev/null +++ b/Assets/WebGLTemplates/Discord/thumbnail.png.meta @@ -0,0 +1,127 @@ +fileFormatVersion: 2 +guid: 3b571787fbdd0c142850d0689e836d4b +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 12 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + flipGreenChannel: 0 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + vTOnly: 0 + ignoreMipmapLimit: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 1 + aniso: 1 + mipBias: 0 + wrapU: 1 + wrapV: 1 + wrapW: 1 + nPOTScale: 0 + lightmap: 0 + compressionQuality: 50 + spriteMode: 1 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 1 + spriteTessellationDetail: -1 + textureType: 8 + textureShape: 1 + singleChannelComponent: 0 + flipbookRows: 1 + flipbookColumns: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + ignorePngGamma: 0 + applyGammaDecoding: 0 + swizzle: 50462976 + cookieLightType: 0 + platformSettings: + - serializedVersion: 3 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Standalone + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: WebGL + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + bones: [] + spriteID: 5e97eb03825dee720800000000000000 + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + nameFileIdTable: {} + mipmapLimitGroupName: + pSDRemoveMatte: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/ProjectSettings/EditorBuildSettings.asset b/ProjectSettings/EditorBuildSettings.asset index 0000711..4f5503f 100644 --- a/ProjectSettings/EditorBuildSettings.asset +++ b/ProjectSettings/EditorBuildSettings.asset @@ -8,10 +8,10 @@ EditorBuildSettings: - enabled: 0 path: Assets/Scenes/Lobby.unity guid: 27215d4ccddeb6d49af03911dd97f9b1 - - enabled: 1 + - enabled: 0 path: Assets/PlayroomKit/Examples/2d-platformer/2d-platformer.unity guid: cf82eec4c654cf44b89cec2a91afebd5 - - enabled: 0 + - enabled: 1 path: Assets/Scenes/3d-Isometric.unity guid: bb7ef8e4a67f3fb46b78e5d95a6858a7 m_configObjects: {} diff --git a/ProjectSettings/ProjectSettings.asset b/ProjectSettings/ProjectSettings.asset index 9802d06..faf1d12 100644 --- a/ProjectSettings/ProjectSettings.asset +++ b/ProjectSettings/ProjectSettings.asset @@ -3,7 +3,7 @@ --- !u!129 &1 PlayerSettings: m_ObjectHideFlags: 0 - serializedVersion: 24 + serializedVersion: 26 productGUID: f4352528862e2464aa156193b2dec69a AndroidProfiler: 0 AndroidFilterTouchesWhenObscured: 0 @@ -49,14 +49,15 @@ PlayerSettings: m_StereoRenderingPath: 0 m_ActiveColorSpace: 0 unsupportedMSAAFallback: 0 + m_SpriteBatchVertexThreshold: 300 m_MTRendering: 1 mipStripping: 0 numberOfMipsStripped: 0 + numberOfMipsStrippedPerMipmapLimitGroup: {} m_StackTraceTypes: 010000000100000001000000010000000100000001000000 iosShowActivityIndicatorOnLoading: -1 androidShowActivityIndicatorOnLoading: -1 iosUseCustomAppBackgroundBehavior: 0 - iosAllowHTTPDownload: 1 allowedAutorotateToPortrait: 1 allowedAutorotateToPortraitUpsideDown: 1 allowedAutorotateToLandscapeRight: 1 @@ -75,6 +76,7 @@ PlayerSettings: androidMinimumWindowWidth: 400 androidMinimumWindowHeight: 300 androidFullscreenMode: 1 + androidAutoRotationBehavior: 1 defaultIsNativeResolution: 1 macRetinaSupport: 1 runInBackground: 1 @@ -86,6 +88,7 @@ PlayerSettings: hideHomeButton: 0 submitAnalytics: 1 usePlayerLog: 1 + dedicatedServerOptimizations: 0 bakeCollisionMeshes: 0 forceSingleInstance: 0 useFlipModelSwapchain: 1 @@ -120,8 +123,11 @@ PlayerSettings: switchNVNShaderPoolsGranularity: 33554432 switchNVNDefaultPoolsGranularity: 16777216 switchNVNOtherPoolsGranularity: 16777216 + switchGpuScratchPoolGranularity: 2097152 + switchAllowGpuScratchShrinking: 0 switchNVNMaxPublicTextureIDCount: 0 switchNVNMaxPublicSamplerIDCount: 0 + switchNVNGraphicsFirmwareMemory: 32 switchMaxWorkerMultiple: 8 stadiaPresentMode: 0 stadiaTargetFramerate: 0 @@ -130,12 +136,9 @@ PlayerSettings: vulkanEnablePreTransform: 0 vulkanEnableLateAcquireNextImage: 0 vulkanEnableCommandBufferRecycling: 1 - m_SupportedAspectRatios: - 4:3: 1 - 5:4: 1 - 16:10: 1 - 16:9: 1 - Others: 1 + loadStoreDebugModeEnabled: 0 + visionOSBundleVersion: 1.0 + tvOSBundleVersion: 1.0 bundleVersion: 1.0 preloadedAssets: [] metroInputSource: 0 @@ -148,8 +151,9 @@ PlayerSettings: isWsaHolographicRemotingEnabled: 0 enableFrameTimingStats: 0 enableOpenGLProfilerGPURecorders: 1 + allowHDRDisplaySupport: 0 useHDRDisplay: 0 - D3DHDRBitDepth: 0 + hdrBitDepth: 0 m_ColorGamuts: 00000000 targetPixelDensity: 30 resolutionScalingMode: 0 @@ -160,6 +164,7 @@ PlayerSettings: Standalone: com.DefaultCompany.2DProject buildNumber: Standalone: 0 + VisionOS: 0 iPhone: 0 tvOS: 0 overrideDefaultApplicationIdentifier: 1 @@ -177,12 +182,15 @@ PlayerSettings: APKExpansionFiles: 0 keepLoadedShadersAlive: 0 StripUnusedMeshComponents: 0 + strictShaderVariantMatching: 0 VertexChannelCompressionMask: 4054 iPhoneSdkVersion: 988 iOSTargetOSVersionString: 12.0 tvOSSdkVersion: 0 tvOSRequireExtendedGameController: 0 tvOSTargetOSVersionString: 12.0 + VisionOSSdkVersion: 0 + VisionOSTargetOSVersionString: 1.0 uIPrerenderedIcon: 0 uIRequiresPersistentWiFi: 0 uIRequiresFullScreen: 1 @@ -230,8 +238,10 @@ PlayerSettings: appleDeveloperTeamID: iOSManualSigningProvisioningProfileID: tvOSManualSigningProvisioningProfileID: + VisionOSManualSigningProvisioningProfileID: iOSManualSigningProvisioningProfileType: 0 tvOSManualSigningProvisioningProfileType: 0 + VisionOSManualSigningProvisioningProfileType: 0 appleEnableAutomaticSigning: 0 iOSRequireARKit: 0 iOSAutomaticallyDetectAndAddCapabilities: 1 @@ -246,6 +256,7 @@ PlayerSettings: useCustomLauncherGradleManifest: 0 useCustomBaseGradleTemplate: 0 useCustomGradlePropertiesTemplate: 0 + useCustomGradleSettingsTemplate: 0 useCustomProguardFile: 0 AndroidTargetArchitectures: 1 AndroidTargetDevices: 0 @@ -253,6 +264,7 @@ PlayerSettings: androidSplashScreen: {fileID: 0} AndroidKeystoreName: AndroidKeyaliasName: + AndroidEnableArmv9SecurityFeatures: 0 AndroidBuildApkPerCpuArchitecture: 0 AndroidTVCompatibility: 0 AndroidIsGame: 1 @@ -266,7 +278,6 @@ PlayerSettings: banner: {fileID: 0} androidGamepadSupportLevel: 0 chromeosInputEmulation: 1 - AndroidMinifyWithR8: 0 AndroidMinifyRelease: 0 AndroidMinifyDebug: 0 AndroidValidateAppBundleSize: 1 @@ -414,7 +425,9 @@ PlayerSettings: iPhone: 1 tvOS: 1 m_BuildTargetGroupLightmapEncodingQuality: [] + m_BuildTargetGroupHDRCubemapEncodingQuality: [] m_BuildTargetGroupLightmapSettings: [] + m_BuildTargetGroupLoadStoreDebugModeSettings: [] m_BuildTargetNormalMapEncoding: [] m_BuildTargetDefaultTextureCompressionFormat: - m_BuildTarget: Android @@ -429,6 +442,7 @@ PlayerSettings: locationUsageDescription: microphoneUsageDescription: bluetoothUsageDescription: + macOSTargetOSVersion: 10.13.0 switchNMETAOverride: switchNetLibKey: switchSocketMemoryPoolSize: 6144 @@ -440,6 +454,7 @@ PlayerSettings: switchLTOSetting: 0 switchApplicationID: 0x01004b9000490000 switchNSODependencies: + switchCompilerFlags: switchTitleNames_0: switchTitleNames_1: switchTitleNames_2: @@ -654,11 +669,12 @@ PlayerSettings: webGLMemorySize: 32 webGLExceptionSupport: 1 webGLNameFilesAsHashes: 0 + webGLShowDiagnostics: 0 webGLDataCaching: 1 webGLDebugSymbols: 0 webGLEmscriptenArgs: webGLModulesDirectory: - webGLTemplate: APPLICATION:Default + webGLTemplate: APPLICATION:Minimal webGLAnalyzeBuildSize: 0 webGLUseEmbeddedResources: 0 webGLCompressionFormat: 0 @@ -666,12 +682,19 @@ PlayerSettings: webGLLinkerTarget: 1 webGLThreadsSupport: 0 webGLDecompressionFallback: 1 + webGLInitialMemorySize: 32 + webGLMaximumMemorySize: 2048 + webGLMemoryGrowthMode: 2 + webGLMemoryLinearGrowthStep: 16 + webGLMemoryGeometricGrowthStep: 0.2 + webGLMemoryGeometricGrowthCap: 96 webGLPowerPreference: 2 scriptingDefineSymbols: {} additionalCompilerArguments: {} platformArchitecture: {} scriptingBackend: {} il2cppCompilerConfiguration: {} + il2cppCodeGeneration: {} managedStrippingLevel: EmbeddedLinux: 1 GameCoreScarlett: 1 @@ -690,11 +713,9 @@ PlayerSettings: suppressCommonWarnings: 1 allowUnsafeCode: 0 useDeterministicCompilation: 1 - enableRoslynAnalyzers: 1 additionalIl2CppArgs: scriptingRuntimeVersion: 1 gcIncremental: 1 - assemblyVersionValidation: 1 gcWBarrierValidation: 0 apiCompatibilityLevelPerPlatform: WebGL: 6 @@ -721,6 +742,7 @@ PlayerSettings: metroTileBackgroundColor: {r: 0.13333334, g: 0.17254902, b: 0.21568628, a: 0} metroSplashScreenBackgroundColor: {r: 0.12941177, g: 0.17254902, b: 0.21568628, a: 1} metroSplashScreenUseBackgroundColor: 0 + syncCapabilities: 0 platformCapabilities: {} metroTargetDeviceFamilies: {} metroFTAName: @@ -767,6 +789,11 @@ PlayerSettings: luminVersion: m_VersionCode: 1 m_VersionName: + hmiPlayerDataPath: + hmiForceSRGBBlit: 1 + embeddedLinuxEnableGamepadInput: 1 + hmiLogStartupTiming: 0 + hmiCpuConfiguration: apiCompatibilityLevel: 6 activeInputHandler: 0 windowsGamepadBackendHint: 0 @@ -777,6 +804,7 @@ PlayerSettings: organizationId: cloudEnabled: 0 legacyClampBlendShapeWeights: 0 - playerDataPath: - forceSRGBBlit: 1 + hmiLoadingImage: {fileID: 0} + platformRequiresReadableAssets: 0 virtualTexturingSupportEnabled: 0 + insecureHttpOption: 0 From d1f5edb32afdeb3cb2167fa95af8247c8d4b4181 Mon Sep 17 00:00:00 2001 From: momintlh <77355191+momintlh@users.noreply.github.com> Date: Mon, 19 Aug 2024 12:01:13 +0500 Subject: [PATCH 2/6] fix: simplified template styling and added .proxy --- Assets/Scenes/3d-Isometric.unity | 2 +- Assets/Scripts/IsometricManager.cs | 9 +- .../Discord/TemplateData/MemoryProfiler.png | Bin 665 -> 0 bytes .../TemplateData/MemoryProfiler.png.meta | 127 ------------------ .../TemplateData/fullscreen-button.png | Bin 175 -> 0 bytes .../TemplateData/fullscreen-button.png.meta | 127 ------------------ .../Discord/TemplateData/webgl-logo.png | Bin 2947 -> 0 bytes .../Discord/TemplateData/webgl-logo.png.meta | 127 ------------------ .../Discord/TemplateData/webmemd-icon.png | Bin 1670 -> 0 bytes .../TemplateData/webmemd-icon.png.meta | 127 ------------------ .../{Discord.meta => DiscordTemplate.meta} | 2 +- .../TemplateData.meta | 2 +- .../TemplateData/favicon.ico | Bin .../TemplateData/favicon.ico.meta | 2 +- .../TemplateData/progress-bar-empty-dark.png | Bin .../progress-bar-empty-dark.png.meta | 2 +- .../TemplateData/progress-bar-empty-light.png | Bin .../progress-bar-empty-light.png.meta | 2 +- .../TemplateData/progress-bar-full-dark.png | Bin .../progress-bar-full-dark.png.meta | 2 +- .../TemplateData/progress-bar-full-light.png | Bin .../progress-bar-full-light.png.meta | 2 +- .../TemplateData/style.css | 0 .../TemplateData/style.css.meta | 2 +- .../TemplateData/unity-logo-dark.png | Bin .../TemplateData/unity-logo-dark.png.meta | 2 +- .../TemplateData/unity-logo-light.png | Bin .../TemplateData/unity-logo-light.png.meta | 2 +- .../{Discord => DiscordTemplate}/index.html | 17 --- .../index.html.meta | 2 +- .../thumbnail.png | Bin .../thumbnail.png.meta | 2 +- ProjectSettings/ProjectSettings.asset | 5 +- 33 files changed, 22 insertions(+), 543 deletions(-) delete mode 100644 Assets/WebGLTemplates/Discord/TemplateData/MemoryProfiler.png delete mode 100644 Assets/WebGLTemplates/Discord/TemplateData/MemoryProfiler.png.meta delete mode 100644 Assets/WebGLTemplates/Discord/TemplateData/fullscreen-button.png delete mode 100644 Assets/WebGLTemplates/Discord/TemplateData/fullscreen-button.png.meta delete mode 100644 Assets/WebGLTemplates/Discord/TemplateData/webgl-logo.png delete mode 100644 Assets/WebGLTemplates/Discord/TemplateData/webgl-logo.png.meta delete mode 100644 Assets/WebGLTemplates/Discord/TemplateData/webmemd-icon.png delete mode 100644 Assets/WebGLTemplates/Discord/TemplateData/webmemd-icon.png.meta rename Assets/WebGLTemplates/{Discord.meta => DiscordTemplate.meta} (77%) rename Assets/WebGLTemplates/{Discord => DiscordTemplate}/TemplateData.meta (77%) rename Assets/WebGLTemplates/{Discord => DiscordTemplate}/TemplateData/favicon.ico (100%) rename Assets/WebGLTemplates/{Discord => DiscordTemplate}/TemplateData/favicon.ico.meta (74%) rename Assets/WebGLTemplates/{Discord => DiscordTemplate}/TemplateData/progress-bar-empty-dark.png (100%) rename Assets/WebGLTemplates/{Discord => DiscordTemplate}/TemplateData/progress-bar-empty-dark.png.meta (98%) rename Assets/WebGLTemplates/{Discord => DiscordTemplate}/TemplateData/progress-bar-empty-light.png (100%) rename Assets/WebGLTemplates/{Discord => DiscordTemplate}/TemplateData/progress-bar-empty-light.png.meta (98%) rename Assets/WebGLTemplates/{Discord => DiscordTemplate}/TemplateData/progress-bar-full-dark.png (100%) rename Assets/WebGLTemplates/{Discord => DiscordTemplate}/TemplateData/progress-bar-full-dark.png.meta (98%) rename Assets/WebGLTemplates/{Discord => DiscordTemplate}/TemplateData/progress-bar-full-light.png (100%) rename Assets/WebGLTemplates/{Discord => DiscordTemplate}/TemplateData/progress-bar-full-light.png.meta (98%) rename Assets/WebGLTemplates/{Discord => DiscordTemplate}/TemplateData/style.css (100%) rename Assets/WebGLTemplates/{Discord => DiscordTemplate}/TemplateData/style.css.meta (74%) rename Assets/WebGLTemplates/{Discord => DiscordTemplate}/TemplateData/unity-logo-dark.png (100%) rename Assets/WebGLTemplates/{Discord => DiscordTemplate}/TemplateData/unity-logo-dark.png.meta (98%) rename Assets/WebGLTemplates/{Discord => DiscordTemplate}/TemplateData/unity-logo-light.png (100%) rename Assets/WebGLTemplates/{Discord => DiscordTemplate}/TemplateData/unity-logo-light.png.meta (98%) rename Assets/WebGLTemplates/{Discord => DiscordTemplate}/index.html (89%) rename Assets/WebGLTemplates/{Discord => DiscordTemplate}/index.html.meta (75%) rename Assets/WebGLTemplates/{Discord => DiscordTemplate}/thumbnail.png (100%) rename Assets/WebGLTemplates/{Discord => DiscordTemplate}/thumbnail.png.meta (98%) diff --git a/Assets/Scenes/3d-Isometric.unity b/Assets/Scenes/3d-Isometric.unity index f7b7c50..4858312 100644 --- a/Assets/Scenes/3d-Isometric.unity +++ b/Assets/Scenes/3d-Isometric.unity @@ -264,7 +264,7 @@ Camera: m_Enabled: 1 serializedVersion: 2 m_ClearFlags: 2 - m_BackGroundColor: {r: 0.21960786, g: 0.21960786, b: 0.21960786, a: 0} + m_BackGroundColor: {r: 0.16470589, g: 0.16470589, b: 0.16470589, a: 1} m_projectionMatrixMode: 1 m_GateFitMode: 2 m_FOVAxisMode: 0 diff --git a/Assets/Scripts/IsometricManager.cs b/Assets/Scripts/IsometricManager.cs index 78524f1..31a131f 100644 --- a/Assets/Scripts/IsometricManager.cs +++ b/Assets/Scripts/IsometricManager.cs @@ -18,15 +18,18 @@ public class IsometricManager : MonoBehaviour [SerializeField] private GameObject playerPrefab; - private void Awake() + private void Start() { PlayroomKit.InsertCoin(new PlayroomKit.InitOptions { maxPlayersPerRoom = 3, matchmaking = false, - gameId = "iQwdxMdv3fCASVrghYgf", + gameId = "QlLX6m413MwtOjkdHKpi", discord = true - }, () => { PlayroomKit.OnPlayerJoin(AddPlayer); }); + }, () => { PlayroomKit.OnPlayerJoin(AddPlayer); }, () => Debug.Log("OnDisconnect callback")); + + + } private void Update() diff --git a/Assets/WebGLTemplates/Discord/TemplateData/MemoryProfiler.png b/Assets/WebGLTemplates/Discord/TemplateData/MemoryProfiler.png deleted file mode 100644 index 2e264c7be1ed0f2bcc336aaf38c409ec61ccf4a9..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 665 zcmV;K0%rY*P)-5U3zXe8df?Afy6F1%V2H8v+hX1&|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LYH;GmDy9w_=g@5I=7KL4}1=dJ+Hm__W@dSfWZ;B zlVN!D__OfBNAsdC{ux=GH0fE@CQw=#3~FAO)mHa z6dQ3IxbN-!+)ODp9D4bwszgDmR9B03T4Cp6)aO)jY@Bf+93yJGJZhJfIOBr=pc3+USbUi6#ccM8VXd9-lEkwZcYT^#UX>aDE zRLyw_#nQSsm$7?FUcLrecgpCdssi_l8COb$B2o`5V9m8VI6=6Qmz2>bN?xBEQFTP# zn1cs6`~}JpiE)1gwQx-RNbgq*-$3)rv#%7NQC!NNFj831q&3IgdUbUiq#2*NLEj5dZ33$1naD DiO(b9 diff --git a/Assets/WebGLTemplates/Discord/TemplateData/webmemd-icon.png.meta b/Assets/WebGLTemplates/Discord/TemplateData/webmemd-icon.png.meta deleted file mode 100644 index e8379a8..0000000 --- a/Assets/WebGLTemplates/Discord/TemplateData/webmemd-icon.png.meta +++ /dev/null @@ -1,127 +0,0 @@ -fileFormatVersion: 2 -guid: 20c87a2d44a1550448365a1500c4d208 -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 12 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - flipGreenChannel: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - vTOnly: 0 - ignoreMipmapLimit: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: 1 - aniso: 1 - mipBias: 0 - wrapU: 1 - wrapV: 1 - wrapW: 1 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 1 - spriteExtrude: 1 - spriteMeshType: 1 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 8 - textureShape: 1 - singleChannelComponent: 0 - flipbookRows: 1 - flipbookColumns: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - ignorePngGamma: 0 - applyGammaDecoding: 0 - swizzle: 50462976 - cookieLightType: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - ignorePlatformSupport: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - - serializedVersion: 3 - buildTarget: Standalone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - ignorePlatformSupport: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - - serializedVersion: 3 - buildTarget: WebGL - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - ignorePlatformSupport: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: 5e97eb03825dee720800000000000000 - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - nameFileIdTable: {} - mipmapLimitGroupName: - pSDRemoveMatte: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/WebGLTemplates/Discord.meta b/Assets/WebGLTemplates/DiscordTemplate.meta similarity index 77% rename from Assets/WebGLTemplates/Discord.meta rename to Assets/WebGLTemplates/DiscordTemplate.meta index 38205e1..b38dd31 100644 --- a/Assets/WebGLTemplates/Discord.meta +++ b/Assets/WebGLTemplates/DiscordTemplate.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: 05b805d62af01c440a3aac1a543bd4a5 +guid: 68958f5bfdd19d84dbaee1d1a2877208 folderAsset: yes DefaultImporter: externalObjects: {} diff --git a/Assets/WebGLTemplates/Discord/TemplateData.meta b/Assets/WebGLTemplates/DiscordTemplate/TemplateData.meta similarity index 77% rename from Assets/WebGLTemplates/Discord/TemplateData.meta rename to Assets/WebGLTemplates/DiscordTemplate/TemplateData.meta index 475a30e..92f9801 100644 --- a/Assets/WebGLTemplates/Discord/TemplateData.meta +++ b/Assets/WebGLTemplates/DiscordTemplate/TemplateData.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: 305b5b9133062f748931729b69659e14 +guid: badf2afcc5619a74eb04e70b44bb4db7 folderAsset: yes DefaultImporter: externalObjects: {} diff --git a/Assets/WebGLTemplates/Discord/TemplateData/favicon.ico b/Assets/WebGLTemplates/DiscordTemplate/TemplateData/favicon.ico similarity index 100% rename from Assets/WebGLTemplates/Discord/TemplateData/favicon.ico rename to Assets/WebGLTemplates/DiscordTemplate/TemplateData/favicon.ico diff --git a/Assets/WebGLTemplates/Discord/TemplateData/favicon.ico.meta b/Assets/WebGLTemplates/DiscordTemplate/TemplateData/favicon.ico.meta similarity index 74% rename from Assets/WebGLTemplates/Discord/TemplateData/favicon.ico.meta rename to Assets/WebGLTemplates/DiscordTemplate/TemplateData/favicon.ico.meta index b1225f6..c93dc5f 100644 --- a/Assets/WebGLTemplates/Discord/TemplateData/favicon.ico.meta +++ b/Assets/WebGLTemplates/DiscordTemplate/TemplateData/favicon.ico.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: b9bbc9b8a73ddbf438ba0072828ffaba +guid: 29eddd6dce459984ab1af081e520fc48 DefaultImporter: externalObjects: {} userData: diff --git a/Assets/WebGLTemplates/Discord/TemplateData/progress-bar-empty-dark.png b/Assets/WebGLTemplates/DiscordTemplate/TemplateData/progress-bar-empty-dark.png similarity index 100% rename from Assets/WebGLTemplates/Discord/TemplateData/progress-bar-empty-dark.png rename to Assets/WebGLTemplates/DiscordTemplate/TemplateData/progress-bar-empty-dark.png diff --git a/Assets/WebGLTemplates/Discord/TemplateData/progress-bar-empty-dark.png.meta b/Assets/WebGLTemplates/DiscordTemplate/TemplateData/progress-bar-empty-dark.png.meta similarity index 98% rename from Assets/WebGLTemplates/Discord/TemplateData/progress-bar-empty-dark.png.meta rename to Assets/WebGLTemplates/DiscordTemplate/TemplateData/progress-bar-empty-dark.png.meta index 13b7e7e..66b2b9b 100644 --- a/Assets/WebGLTemplates/Discord/TemplateData/progress-bar-empty-dark.png.meta +++ b/Assets/WebGLTemplates/DiscordTemplate/TemplateData/progress-bar-empty-dark.png.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: 13c243b92ab3cfd4a9fb69909f470aba +guid: de9bf836020c7bf42b6d4be93b7fcdae TextureImporter: internalIDToNameTable: [] externalObjects: {} diff --git a/Assets/WebGLTemplates/Discord/TemplateData/progress-bar-empty-light.png b/Assets/WebGLTemplates/DiscordTemplate/TemplateData/progress-bar-empty-light.png similarity index 100% rename from Assets/WebGLTemplates/Discord/TemplateData/progress-bar-empty-light.png rename to Assets/WebGLTemplates/DiscordTemplate/TemplateData/progress-bar-empty-light.png diff --git a/Assets/WebGLTemplates/Discord/TemplateData/progress-bar-empty-light.png.meta b/Assets/WebGLTemplates/DiscordTemplate/TemplateData/progress-bar-empty-light.png.meta similarity index 98% rename from Assets/WebGLTemplates/Discord/TemplateData/progress-bar-empty-light.png.meta rename to Assets/WebGLTemplates/DiscordTemplate/TemplateData/progress-bar-empty-light.png.meta index 0fbc3cd..324843a 100644 --- a/Assets/WebGLTemplates/Discord/TemplateData/progress-bar-empty-light.png.meta +++ b/Assets/WebGLTemplates/DiscordTemplate/TemplateData/progress-bar-empty-light.png.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: e82817db938fd1244a3b00d96cbc2afb +guid: 41f35d32425e88a4cb8f060ea8f8d22d TextureImporter: internalIDToNameTable: [] externalObjects: {} diff --git a/Assets/WebGLTemplates/Discord/TemplateData/progress-bar-full-dark.png b/Assets/WebGLTemplates/DiscordTemplate/TemplateData/progress-bar-full-dark.png similarity index 100% rename from Assets/WebGLTemplates/Discord/TemplateData/progress-bar-full-dark.png rename to Assets/WebGLTemplates/DiscordTemplate/TemplateData/progress-bar-full-dark.png diff --git a/Assets/WebGLTemplates/Discord/TemplateData/progress-bar-full-dark.png.meta b/Assets/WebGLTemplates/DiscordTemplate/TemplateData/progress-bar-full-dark.png.meta similarity index 98% rename from Assets/WebGLTemplates/Discord/TemplateData/progress-bar-full-dark.png.meta rename to Assets/WebGLTemplates/DiscordTemplate/TemplateData/progress-bar-full-dark.png.meta index 20e4be2..c62325b 100644 --- a/Assets/WebGLTemplates/Discord/TemplateData/progress-bar-full-dark.png.meta +++ b/Assets/WebGLTemplates/DiscordTemplate/TemplateData/progress-bar-full-dark.png.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: b52e2ad6f47fdf74fbce129b8e3a2066 +guid: 1262cb76b08091c46b3a078327b37211 TextureImporter: internalIDToNameTable: [] externalObjects: {} diff --git a/Assets/WebGLTemplates/Discord/TemplateData/progress-bar-full-light.png b/Assets/WebGLTemplates/DiscordTemplate/TemplateData/progress-bar-full-light.png similarity index 100% rename from Assets/WebGLTemplates/Discord/TemplateData/progress-bar-full-light.png rename to Assets/WebGLTemplates/DiscordTemplate/TemplateData/progress-bar-full-light.png diff --git a/Assets/WebGLTemplates/Discord/TemplateData/progress-bar-full-light.png.meta b/Assets/WebGLTemplates/DiscordTemplate/TemplateData/progress-bar-full-light.png.meta similarity index 98% rename from Assets/WebGLTemplates/Discord/TemplateData/progress-bar-full-light.png.meta rename to Assets/WebGLTemplates/DiscordTemplate/TemplateData/progress-bar-full-light.png.meta index 0d1fe20..002e66d 100644 --- a/Assets/WebGLTemplates/Discord/TemplateData/progress-bar-full-light.png.meta +++ b/Assets/WebGLTemplates/DiscordTemplate/TemplateData/progress-bar-full-light.png.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: d7e8ab312b5c3244aa9c23e8664fa41f +guid: 95e173687afa82b4794eca6d7a21ed17 TextureImporter: internalIDToNameTable: [] externalObjects: {} diff --git a/Assets/WebGLTemplates/Discord/TemplateData/style.css b/Assets/WebGLTemplates/DiscordTemplate/TemplateData/style.css similarity index 100% rename from Assets/WebGLTemplates/Discord/TemplateData/style.css rename to Assets/WebGLTemplates/DiscordTemplate/TemplateData/style.css diff --git a/Assets/WebGLTemplates/Discord/TemplateData/style.css.meta b/Assets/WebGLTemplates/DiscordTemplate/TemplateData/style.css.meta similarity index 74% rename from Assets/WebGLTemplates/Discord/TemplateData/style.css.meta rename to Assets/WebGLTemplates/DiscordTemplate/TemplateData/style.css.meta index 4a98397..373ad02 100644 --- a/Assets/WebGLTemplates/Discord/TemplateData/style.css.meta +++ b/Assets/WebGLTemplates/DiscordTemplate/TemplateData/style.css.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: 4eec9ed471d938e41bf67134f66a422c +guid: d45b72d7fb4ad094c9c93e0ab8d1c744 DefaultImporter: externalObjects: {} userData: diff --git a/Assets/WebGLTemplates/Discord/TemplateData/unity-logo-dark.png b/Assets/WebGLTemplates/DiscordTemplate/TemplateData/unity-logo-dark.png similarity index 100% rename from Assets/WebGLTemplates/Discord/TemplateData/unity-logo-dark.png rename to Assets/WebGLTemplates/DiscordTemplate/TemplateData/unity-logo-dark.png diff --git a/Assets/WebGLTemplates/Discord/TemplateData/unity-logo-dark.png.meta b/Assets/WebGLTemplates/DiscordTemplate/TemplateData/unity-logo-dark.png.meta similarity index 98% rename from Assets/WebGLTemplates/Discord/TemplateData/unity-logo-dark.png.meta rename to Assets/WebGLTemplates/DiscordTemplate/TemplateData/unity-logo-dark.png.meta index 2adb8cd..06dcd21 100644 --- a/Assets/WebGLTemplates/Discord/TemplateData/unity-logo-dark.png.meta +++ b/Assets/WebGLTemplates/DiscordTemplate/TemplateData/unity-logo-dark.png.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: 3367a446884b40442b25d9409a8a7b3a +guid: 98d9ee6a8209a4745b0ddebd7193bd8c TextureImporter: internalIDToNameTable: [] externalObjects: {} diff --git a/Assets/WebGLTemplates/Discord/TemplateData/unity-logo-light.png b/Assets/WebGLTemplates/DiscordTemplate/TemplateData/unity-logo-light.png similarity index 100% rename from Assets/WebGLTemplates/Discord/TemplateData/unity-logo-light.png rename to Assets/WebGLTemplates/DiscordTemplate/TemplateData/unity-logo-light.png diff --git a/Assets/WebGLTemplates/Discord/TemplateData/unity-logo-light.png.meta b/Assets/WebGLTemplates/DiscordTemplate/TemplateData/unity-logo-light.png.meta similarity index 98% rename from Assets/WebGLTemplates/Discord/TemplateData/unity-logo-light.png.meta rename to Assets/WebGLTemplates/DiscordTemplate/TemplateData/unity-logo-light.png.meta index 28f8d00..fed9119 100644 --- a/Assets/WebGLTemplates/Discord/TemplateData/unity-logo-light.png.meta +++ b/Assets/WebGLTemplates/DiscordTemplate/TemplateData/unity-logo-light.png.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: 10290204a5fcfce428e0eeb7b39c4762 +guid: e1b3c2e87fc0db64b83dd09b4701df6a TextureImporter: internalIDToNameTable: [] externalObjects: {} diff --git a/Assets/WebGLTemplates/Discord/index.html b/Assets/WebGLTemplates/DiscordTemplate/index.html similarity index 89% rename from Assets/WebGLTemplates/Discord/index.html rename to Assets/WebGLTemplates/DiscordTemplate/index.html index 1d51dc8..b4869c4 100644 --- a/Assets/WebGLTemplates/Discord/index.html +++ b/Assets/WebGLTemplates/DiscordTemplate/index.html @@ -21,14 +21,6 @@
- #endif +
- +
@@ -23,7 +45,6 @@
diff --git a/ProjectSettings/EditorBuildSettings.asset b/ProjectSettings/EditorBuildSettings.asset index 4f5503f..b83eb3d 100644 --- a/ProjectSettings/EditorBuildSettings.asset +++ b/ProjectSettings/EditorBuildSettings.asset @@ -12,6 +12,6 @@ EditorBuildSettings: path: Assets/PlayroomKit/Examples/2d-platformer/2d-platformer.unity guid: cf82eec4c654cf44b89cec2a91afebd5 - enabled: 1 - path: Assets/Scenes/3d-Isometric.unity + path: Assets/PlayroomKit/Examples/discord-activity/discord-activity.unity guid: bb7ef8e4a67f3fb46b78e5d95a6858a7 m_configObjects: {} diff --git a/ProjectSettings/ProjectSettings.asset b/ProjectSettings/ProjectSettings.asset index 5b2a017..2f81a5e 100644 --- a/ProjectSettings/ProjectSettings.asset +++ b/ProjectSettings/ProjectSettings.asset @@ -675,10 +675,10 @@ PlayerSettings: webGLDebugSymbols: 0 webGLEmscriptenArgs: webGLModulesDirectory: - webGLTemplate: APPLICATION:Default + webGLTemplate: PROJECT:DiscordTemplate webGLAnalyzeBuildSize: 0 webGLUseEmbeddedResources: 0 - webGLCompressionFormat: 0 + webGLCompressionFormat: 2 webGLWasmArithmeticExceptions: 0 webGLLinkerTarget: 1 webGLThreadsSupport: 0 From 3b07141ce79d75ce26aa79ad84d7ef41984aad4c Mon Sep 17 00:00:00 2001 From: momintlh <77355191+momintlh@users.noreply.github.com> Date: Tue, 20 Aug 2024 15:35:23 +0500 Subject: [PATCH 5/6] chore: better naming --- .../scripts/{IsometricManager.cs => GameManagerIsometric.cs} | 2 +- ...{IsometricManager.cs.meta => GameManagerIsometric.cs.meta} | 0 .../discord-activity/scripts/IsometricPlayerController.cs | 4 ---- 3 files changed, 1 insertion(+), 5 deletions(-) rename Assets/PlayroomKit/Examples/discord-activity/scripts/{IsometricManager.cs => GameManagerIsometric.cs} (98%) rename Assets/PlayroomKit/Examples/discord-activity/scripts/{IsometricManager.cs.meta => GameManagerIsometric.cs.meta} (100%) diff --git a/Assets/PlayroomKit/Examples/discord-activity/scripts/IsometricManager.cs b/Assets/PlayroomKit/Examples/discord-activity/scripts/GameManagerIsometric.cs similarity index 98% rename from Assets/PlayroomKit/Examples/discord-activity/scripts/IsometricManager.cs rename to Assets/PlayroomKit/Examples/discord-activity/scripts/GameManagerIsometric.cs index 7ac7d4b..a91f7e0 100644 --- a/Assets/PlayroomKit/Examples/discord-activity/scripts/IsometricManager.cs +++ b/Assets/PlayroomKit/Examples/discord-activity/scripts/GameManagerIsometric.cs @@ -5,7 +5,7 @@ using UnityEngine; using Random = UnityEngine.Random; -public class IsometricManager : MonoBehaviour +public class GameManagerIsometric : MonoBehaviour { private static readonly List players = new(); private static readonly List playerGameObjects = new(); diff --git a/Assets/PlayroomKit/Examples/discord-activity/scripts/IsometricManager.cs.meta b/Assets/PlayroomKit/Examples/discord-activity/scripts/GameManagerIsometric.cs.meta similarity index 100% rename from Assets/PlayroomKit/Examples/discord-activity/scripts/IsometricManager.cs.meta rename to Assets/PlayroomKit/Examples/discord-activity/scripts/GameManagerIsometric.cs.meta diff --git a/Assets/PlayroomKit/Examples/discord-activity/scripts/IsometricPlayerController.cs b/Assets/PlayroomKit/Examples/discord-activity/scripts/IsometricPlayerController.cs index 2cd223c..6ffc5e9 100644 --- a/Assets/PlayroomKit/Examples/discord-activity/scripts/IsometricPlayerController.cs +++ b/Assets/PlayroomKit/Examples/discord-activity/scripts/IsometricPlayerController.cs @@ -15,10 +15,6 @@ public void LookAround() Look(); } - // private void FixedUpdate() { - // Move(); - // } - private void GatherInput() { _input = new Vector3(Input.GetAxisRaw("Horizontal"), 0, Input.GetAxisRaw("Vertical")); From 08e4201c857a76274dc97db8b8312e261ccf1ab5 Mon Sep 17 00:00:00 2001 From: momintlh <77355191+momintlh@users.noreply.github.com> Date: Tue, 20 Aug 2024 16:30:28 +0500 Subject: [PATCH 6/6] chore: moved materials to example folder --- .../PlayroomKit/Examples/discord-activity/materials.meta | 8 ++++++++ .../Examples/discord-activity/materials}/Base.mat | 0 .../Examples/discord-activity/materials}/Base.mat.meta | 0 .../Examples/discord-activity/materials}/player.mat | 0 .../Examples/discord-activity/materials}/player.mat.meta | 0 5 files changed, 8 insertions(+) create mode 100644 Assets/PlayroomKit/Examples/discord-activity/materials.meta rename Assets/{Sprites => PlayroomKit/Examples/discord-activity/materials}/Base.mat (100%) rename Assets/{Sprites => PlayroomKit/Examples/discord-activity/materials}/Base.mat.meta (100%) rename Assets/{Sprites => PlayroomKit/Examples/discord-activity/materials}/player.mat (100%) rename Assets/{Sprites => PlayroomKit/Examples/discord-activity/materials}/player.mat.meta (100%) diff --git a/Assets/PlayroomKit/Examples/discord-activity/materials.meta b/Assets/PlayroomKit/Examples/discord-activity/materials.meta new file mode 100644 index 0000000..9fb1a0d --- /dev/null +++ b/Assets/PlayroomKit/Examples/discord-activity/materials.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 75b30b5b831b3814b9c85fdb43c8a310 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Sprites/Base.mat b/Assets/PlayroomKit/Examples/discord-activity/materials/Base.mat similarity index 100% rename from Assets/Sprites/Base.mat rename to Assets/PlayroomKit/Examples/discord-activity/materials/Base.mat diff --git a/Assets/Sprites/Base.mat.meta b/Assets/PlayroomKit/Examples/discord-activity/materials/Base.mat.meta similarity index 100% rename from Assets/Sprites/Base.mat.meta rename to Assets/PlayroomKit/Examples/discord-activity/materials/Base.mat.meta diff --git a/Assets/Sprites/player.mat b/Assets/PlayroomKit/Examples/discord-activity/materials/player.mat similarity index 100% rename from Assets/Sprites/player.mat rename to Assets/PlayroomKit/Examples/discord-activity/materials/player.mat diff --git a/Assets/Sprites/player.mat.meta b/Assets/PlayroomKit/Examples/discord-activity/materials/player.mat.meta similarity index 100% rename from Assets/Sprites/player.mat.meta rename to Assets/PlayroomKit/Examples/discord-activity/materials/player.mat.meta