Browse Source

Added replace block + updated webgl build

master
Joshua Reason 5 years ago
parent
commit
3e7480ff17
56 changed files with 820 additions and 13 deletions
  1. +3
    -0
      Assets/Data/Logic Blocks/Jump x4.asset
  2. +8
    -0
      Assets/Data/Logic Blocks/Jump x4.asset.meta
  3. +3
    -0
      Assets/Data/Logic Blocks/Water Replace.asset
  4. +8
    -0
      Assets/Data/Logic Blocks/Water Replace.asset.meta
  5. +8
    -0
      Assets/Plugins/IngameDebugConsole.meta
  6. +414
    -0
      Assets/Resources/Cube_Water_LillyUp.prefab
  7. +7
    -0
      Assets/Resources/Cube_Water_LillyUp.prefab.meta
  8. +1
    -1
      Assets/Scripts/Character.cs
  9. +8
    -0
      Assets/Scripts/Components.meta
  10. +2
    -1
      Assets/Scripts/LevelBlocks/Block.cs
  11. +15
    -3
      Assets/Scripts/LevelBlocks/Water.cs
  12. +0
    -1
      Assets/Scripts/Logic/Blocks/LogicBlock.cs
  13. +57
    -0
      Assets/Scripts/Logic/Blocks/Replace.cs
  14. +11
    -0
      Assets/Scripts/Logic/Blocks/Replace.cs.meta
  15. +2
    -2
      Assets/StreamingAssets/WebGLBuild/Build/WebGLBuild.data.unityweb
  16. +2
    -2
      Assets/StreamingAssets/WebGLBuild/Build/WebGLBuild.wasm.code.unityweb
  17. +2
    -2
      Assets/StreamingAssets/WebGLBuild/Build/WebGLBuild.wasm.framework.unityweb
  18. +8
    -0
      Assets/StreamingAssets/WebGLBuild/StreamingAssets.meta
  19. +8
    -0
      Assets/StreamingAssets/WebGLBuild/StreamingAssets/WebGLBuild.meta
  20. +8
    -0
      Assets/StreamingAssets/WebGLBuild/StreamingAssets/WebGLBuild/Build.meta
  21. +4
    -0
      Assets/StreamingAssets/WebGLBuild/StreamingAssets/WebGLBuild/Build/UnityLoader.js
  22. +7
    -0
      Assets/StreamingAssets/WebGLBuild/StreamingAssets/WebGLBuild/Build/UnityLoader.js.meta
  23. +3
    -0
      Assets/StreamingAssets/WebGLBuild/StreamingAssets/WebGLBuild/Build/WebGLBuild.data.unityweb
  24. +7
    -0
      Assets/StreamingAssets/WebGLBuild/StreamingAssets/WebGLBuild/Build/WebGLBuild.data.unityweb.meta
  25. +13
    -0
      Assets/StreamingAssets/WebGLBuild/StreamingAssets/WebGLBuild/Build/WebGLBuild.json
  26. +7
    -0
      Assets/StreamingAssets/WebGLBuild/StreamingAssets/WebGLBuild/Build/WebGLBuild.json.meta
  27. +3
    -0
      Assets/StreamingAssets/WebGLBuild/StreamingAssets/WebGLBuild/Build/WebGLBuild.wasm.code.unityweb
  28. +7
    -0
      Assets/StreamingAssets/WebGLBuild/StreamingAssets/WebGLBuild/Build/WebGLBuild.wasm.code.unityweb.meta
  29. +3
    -0
      Assets/StreamingAssets/WebGLBuild/StreamingAssets/WebGLBuild/Build/WebGLBuild.wasm.framework.unityweb
  30. +7
    -0
      Assets/StreamingAssets/WebGLBuild/StreamingAssets/WebGLBuild/Build/WebGLBuild.wasm.framework.unityweb.meta
  31. +8
    -0
      Assets/StreamingAssets/WebGLBuild/StreamingAssets/WebGLBuild/TemplateData.meta
  32. +24
    -0
      Assets/StreamingAssets/WebGLBuild/StreamingAssets/WebGLBuild/TemplateData/UnityProgress.js
  33. +7
    -0
      Assets/StreamingAssets/WebGLBuild/StreamingAssets/WebGLBuild/TemplateData/UnityProgress.js.meta
  34. BIN
      Assets/StreamingAssets/WebGLBuild/StreamingAssets/WebGLBuild/TemplateData/favicon.ico
  35. +7
    -0
      Assets/StreamingAssets/WebGLBuild/StreamingAssets/WebGLBuild/TemplateData/favicon.ico.meta
  36. +3
    -0
      Assets/StreamingAssets/WebGLBuild/StreamingAssets/WebGLBuild/TemplateData/fullscreen.png
  37. +7
    -0
      Assets/StreamingAssets/WebGLBuild/StreamingAssets/WebGLBuild/TemplateData/fullscreen.png.meta
  38. +3
    -0
      Assets/StreamingAssets/WebGLBuild/StreamingAssets/WebGLBuild/TemplateData/progressEmpty.Dark.png
  39. +7
    -0
      Assets/StreamingAssets/WebGLBuild/StreamingAssets/WebGLBuild/TemplateData/progressEmpty.Dark.png.meta
  40. +3
    -0
      Assets/StreamingAssets/WebGLBuild/StreamingAssets/WebGLBuild/TemplateData/progressEmpty.Light.png
  41. +7
    -0
      Assets/StreamingAssets/WebGLBuild/StreamingAssets/WebGLBuild/TemplateData/progressEmpty.Light.png.meta
  42. +3
    -0
      Assets/StreamingAssets/WebGLBuild/StreamingAssets/WebGLBuild/TemplateData/progressFull.Dark.png
  43. +7
    -0
      Assets/StreamingAssets/WebGLBuild/StreamingAssets/WebGLBuild/TemplateData/progressFull.Dark.png.meta
  44. +3
    -0
      Assets/StreamingAssets/WebGLBuild/StreamingAssets/WebGLBuild/TemplateData/progressFull.Light.png
  45. +7
    -0
      Assets/StreamingAssets/WebGLBuild/StreamingAssets/WebGLBuild/TemplateData/progressFull.Light.png.meta
  46. +3
    -0
      Assets/StreamingAssets/WebGLBuild/StreamingAssets/WebGLBuild/TemplateData/progressLogo.Dark.png
  47. +7
    -0
      Assets/StreamingAssets/WebGLBuild/StreamingAssets/WebGLBuild/TemplateData/progressLogo.Dark.png.meta
  48. +3
    -0
      Assets/StreamingAssets/WebGLBuild/StreamingAssets/WebGLBuild/TemplateData/progressLogo.Light.png
  49. +7
    -0
      Assets/StreamingAssets/WebGLBuild/StreamingAssets/WebGLBuild/TemplateData/progressLogo.Light.png.meta
  50. +18
    -0
      Assets/StreamingAssets/WebGLBuild/StreamingAssets/WebGLBuild/TemplateData/style.css
  51. +7
    -0
      Assets/StreamingAssets/WebGLBuild/StreamingAssets/WebGLBuild/TemplateData/style.css.meta
  52. +3
    -0
      Assets/StreamingAssets/WebGLBuild/StreamingAssets/WebGLBuild/TemplateData/webgl-logo.png
  53. +7
    -0
      Assets/StreamingAssets/WebGLBuild/StreamingAssets/WebGLBuild/TemplateData/webgl-logo.png.meta
  54. +25
    -0
      Assets/StreamingAssets/WebGLBuild/StreamingAssets/WebGLBuild/index.html
  55. +7
    -0
      Assets/StreamingAssets/WebGLBuild/StreamingAssets/WebGLBuild/index.html.meta
  56. +1
    -1
      ProjectSettings/EditorBuildSettings.asset

+ 3
- 0
Assets/Data/Logic Blocks/Jump x4.asset View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:14a02c7122e6f6e41dded7d660f2ebfb079e12d62f6ed497703aedb690d199bf
size 652

+ 8
- 0
Assets/Data/Logic Blocks/Jump x4.asset.meta View File

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

+ 3
- 0
Assets/Data/Logic Blocks/Water Replace.asset View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8799c4127f4890332495e4d608afd5a9a48395eb1ec7eb8e6116550bdd623c9e
size 642

+ 8
- 0
Assets/Data/Logic Blocks/Water Replace.asset.meta View File

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

+ 8
- 0
Assets/Plugins/IngameDebugConsole.meta View File

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

+ 414
- 0
Assets/Resources/Cube_Water_LillyUp.prefab View File

@ -0,0 +1,414 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &530235143574139110
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1828716198829146157}
m_Layer: 0
m_Name: LilyPad
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &1828716198829146157
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 530235143574139110}
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_Children:
- {fileID: 8106369753450024413}
- {fileID: 7845928462204854316}
- {fileID: 24989262969370864}
m_Father: {fileID: 47964057}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &671413771732590573
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 24989262969370864}
- component: {fileID: 3248327937091408180}
- component: {fileID: 2480900863621540341}
m_Layer: 0
m_Name: Flower4_2 (2)
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &24989262969370864
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 671413771732590573}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 0.6, y: 0.1, z: 0.6}
m_Children: []
m_Father: {fileID: 1828716198829146157}
m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!33 &3248327937091408180
MeshFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 671413771732590573}
m_Mesh: {fileID: 4300000, guid: 4a45d11e88f706d4ebb66d42897779e0, type: 3}
--- !u!23 &2480900863621540341
MeshRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 671413771732590573}
m_Enabled: 1
m_CastShadows: 1
m_ReceiveShadows: 1
m_DynamicOccludee: 1
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: cc200860bee3eb94dad02af3bcf473b0, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
m_StaticBatchRoot: {fileID: 0}
m_ProbeAnchor: {fileID: 0}
m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
m_StitchLightmapSeams: 0
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
--- !u!1 &1999421548732318256
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 47964057}
- component: {fileID: 6650162365135615188}
- component: {fileID: 5226278787542506594}
m_Layer: 0
m_Name: Cube_Water_LillyUp
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &47964057
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1999421548732318256}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: -12, y: -0.5, z: 1.9999998}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 1828716198829146157}
- {fileID: 3495549618656143551}
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!65 &6650162365135615188
BoxCollider:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1999421548732318256}
m_Material: {fileID: 0}
m_IsTrigger: 0
m_Enabled: 1
serializedVersion: 2
m_Size: {x: 1, y: 1, z: 1}
m_Center: {x: 0, y: 0, z: 0}
--- !u!114 &5226278787542506594
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1999421548732318256}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 68d0f0591435c9944a441b8fa5244072, type: 3}
m_Name:
m_EditorClassIdentifier:
VisualOffset: {x: 0, y: 0.5, z: 0}
is_Walkable: 1
isWater: 0
isPit: 0
isCrystals: 0
isRock: 0
isCollectableSpawnable: 0
isSpawnable: 0
SpawnDirection: 2
lillyPad: {fileID: 530235143574139110}
FallDistance: 0.5
lillyPadStartUp: 1
--- !u!1 &7281521922483143231
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 3495549618656143551}
- component: {fileID: 3318533407707509065}
- component: {fileID: 7563148306655853409}
m_Layer: 0
m_Name: Cube_Water
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 4294967295
m_IsActive: 1
--- !u!4 &3495549618656143551
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7281521922483143231}
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_Children: []
m_Father: {fileID: 47964057}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!33 &3318533407707509065
MeshFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7281521922483143231}
m_Mesh: {fileID: 4300000, guid: d73f25ac0bcef5b469863e30ce33634b, type: 3}
--- !u!23 &7563148306655853409
MeshRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7281521922483143231}
m_Enabled: 1
m_CastShadows: 1
m_ReceiveShadows: 1
m_DynamicOccludee: 1
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: 5e101a1af208737469b8482764baf697, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
m_StaticBatchRoot: {fileID: 0}
m_ProbeAnchor: {fileID: 0}
m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
m_StitchLightmapSeams: 0
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
--- !u!1 &7858000249164259621
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 7845928462204854316}
- component: {fileID: 7970735141334953310}
- component: {fileID: 2832984628613383620}
m_Layer: 0
m_Name: Flower4_2 (1)
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &7845928462204854316
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7858000249164259621}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1.1, y: 1.1, z: 1.1}
m_Children: []
m_Father: {fileID: 1828716198829146157}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!33 &7970735141334953310
MeshFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7858000249164259621}
m_Mesh: {fileID: 4300000, guid: 4a45d11e88f706d4ebb66d42897779e0, type: 3}
--- !u!23 &2832984628613383620
MeshRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7858000249164259621}
m_Enabled: 1
m_CastShadows: 1
m_ReceiveShadows: 1
m_DynamicOccludee: 1
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: cc200860bee3eb94dad02af3bcf473b0, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
m_StaticBatchRoot: {fileID: 0}
m_ProbeAnchor: {fileID: 0}
m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
m_StitchLightmapSeams: 0
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
--- !u!1 &8864229519112577870
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 8106369753450024413}
- component: {fileID: 4543528182562699443}
- component: {fileID: 4085195132855863162}
m_Layer: 0
m_Name: Flower4_2
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &8106369753450024413
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8864229519112577870}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 2, y: 1, z: 2}
m_Children: []
m_Father: {fileID: 1828716198829146157}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!33 &4543528182562699443
MeshFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8864229519112577870}
m_Mesh: {fileID: 4300000, guid: 4a45d11e88f706d4ebb66d42897779e0, type: 3}
--- !u!23 &4085195132855863162
MeshRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8864229519112577870}
m_Enabled: 1
m_CastShadows: 1
m_ReceiveShadows: 1
m_DynamicOccludee: 1
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: cc200860bee3eb94dad02af3bcf473b0, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
m_StaticBatchRoot: {fileID: 0}
m_ProbeAnchor: {fileID: 0}
m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
m_StitchLightmapSeams: 0
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

+ 7
- 0
Assets/Resources/Cube_Water_LillyUp.prefab.meta View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 4bab598e9c77c4d45acd2065721ca1b8
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

+ 1
- 1
Assets/Scripts/Character.cs View File

@ -8,7 +8,7 @@ using TMPro;
public class Character : MonoBehaviour public class Character : MonoBehaviour
{ {
public enum Animation { Walk, Run, Jump, Sit, Attack, Hit }
public enum Animation { Walk, Run, Jump, Sit, Attack, Hit,None }
public blockSpawn spawn; public blockSpawn spawn;
public int runOrder = 0; public int runOrder = 0;

+ 8
- 0
Assets/Scripts/Components.meta View File

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

+ 2
- 1
Assets/Scripts/LevelBlocks/Block.cs View File

@ -91,7 +91,8 @@ public class Block : MonoBehaviour
/// <param name="player">Player which moved on to block</param> /// <param name="player">Player which moved on to block</param>
public virtual void OnLeftByPlayer(Character player) public virtual void OnLeftByPlayer(Character player)
{ {
CurrentPlayer = null;
if (CurrentPlayer == player)
CurrentPlayer = null;
} }
/// <summary> /// <summary>

+ 15
- 3
Assets/Scripts/LevelBlocks/Water.cs View File

@ -4,7 +4,7 @@ using UnityEngine;
public class Water : ActiveBlock public class Water : ActiveBlock
{ {
[Header("Water Settings")]
[SerializeField] [SerializeField]
[Tooltip("GameObject which appears when character respawns")] [Tooltip("GameObject which appears when character respawns")]
private GameObject lillyPad; private GameObject lillyPad;
@ -13,6 +13,9 @@ public class Water : ActiveBlock
[Tooltip("Distance character will be submerged into the water")] [Tooltip("Distance character will be submerged into the water")]
private float FallDistance = 0.5f; private float FallDistance = 0.5f;
[SerializeField]
private bool lillyPadStartUp = false;
private bool isLillyPadUp = false; private bool isLillyPadUp = false;
private Character trappedCharacter; private Character trappedCharacter;
@ -22,11 +25,20 @@ public class Water : ActiveBlock
return 0; return 0;
} }
private void Start()
{
if (lillyPadStartUp)
{
StartCoroutine(LerpToPosition(lillyPad.transform, VisualPosition, 0));
isLillyPadUp = true;
}
}
public override IEnumerator OnWalkedOnByPlayer(Character player, Vector3 moveDirection) public override IEnumerator OnWalkedOnByPlayer(Character player, Vector3 moveDirection)
{ {
yield return StartCoroutine(base.OnWalkedOnByPlayer(player, moveDirection)); yield return StartCoroutine(base.OnWalkedOnByPlayer(player, moveDirection));
if (trappedCharacter == null)
if (trappedCharacter == null && !isLillyPadUp)
{ {
CurrentPlayer = null; CurrentPlayer = null;
trappedCharacter = player; trappedCharacter = player;
@ -41,7 +53,7 @@ public class Water : ActiveBlock
public override void OnLeftByPlayer(Character player) public override void OnLeftByPlayer(Character player)
{ {
base.OnLeftByPlayer(player); base.OnLeftByPlayer(player);
if (isLillyPadUp)
if (isLillyPadUp && CurrentPlayer == null)
{ {
StartCoroutine(LerpToPosition(lillyPad.transform, VisualPosition + Vector3.down * FallDistance, 1)); StartCoroutine(LerpToPosition(lillyPad.transform, VisualPosition + Vector3.down * FallDistance, 1));
isLillyPadUp = false; isLillyPadUp = false;

+ 0
- 1
Assets/Scripts/Logic/Blocks/LogicBlock.cs View File

@ -220,7 +220,6 @@ public class BlockToken
{ {
LogicBlock retVal = (LogicBlock)ScriptableObject.CreateInstance(blockType); LogicBlock retVal = (LogicBlock)ScriptableObject.CreateInstance(blockType);
//Debug.Log("type: " + retVal.GetType());
retVal.CopyToken(this); retVal.CopyToken(this);
return retVal; return retVal;

+ 57
- 0
Assets/Scripts/Logic/Blocks/Replace.cs View File

@ -0,0 +1,57 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[CreateAssetMenu(menuName = "Major Project/Pick Ups/Replace Block")]
[System.Serializable]
public class Replace : LogicBlock
{
public GameObject blockPrefab;
public override Block GetEndBlock(Block startBlock, Transform transform, LayerMask layerMask)
{
return startBlock;
}
protected override IEnumerator BlockLogic(Character player, float animationTime, bool useBlockDirection = false)
{
Block oldBlock = player.CurrentBlock;
Transform parent = oldBlock.transform.parent;
Vector3 position = oldBlock.position;
Block newBlock = Instantiate(blockPrefab, parent).GetComponent<Block>();
newBlock.transform.position = position;
yield return player.StartCoroutine(player.MoveToBlock(newBlock, Character.Animation.None, 0.0f));
Destroy(oldBlock);
}
public override void CopyToken(BlockToken token)
{
base.CopyToken(token);
blockPrefab= Resources.Load<GameObject>(((ReplaceToken)token).prefabName);
}
public override BlockToken ToToken(BlockToken token = null)
{
if (token == null)
token = new ReplaceToken(this);
Debug.Log(base.ToToken(token).GetType().Name);
ReplaceToken retVal = (ReplaceToken)base.ToToken(token);
retVal.prefabName = blockPrefab.name;
return retVal;
}
}
[System.Serializable]
public class ReplaceToken : BlockToken
{
public string prefabName;
public ReplaceToken(LogicBlock block) : base(block) { }
}

+ 11
- 0
Assets/Scripts/Logic/Blocks/Replace.cs.meta View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 0adfc1f91b6112041a9007d6aad4d50f
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

+ 2
- 2
Assets/StreamingAssets/WebGLBuild/Build/WebGLBuild.data.unityweb View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:d3b63b387237263b0d53dd2426329f9badf2795062af614a355597e3a2b0c2c6
size 12036029
oid sha256:3280ae5e8e35f80671e30d7d140dcd4cb94de5e6ecddd5feac34ba3bb22ae853
size 13778627

+ 2
- 2
Assets/StreamingAssets/WebGLBuild/Build/WebGLBuild.wasm.code.unityweb View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:187c75f0c272a04e9ee92922facff177067b3d4829c6653d1896ebf8f7dd06ab
size 5553639
oid sha256:f977da72338c4dde19aca4804692c86419a54d08bccc5dead644e8a602177787
size 5554755

+ 2
- 2
Assets/StreamingAssets/WebGLBuild/Build/WebGLBuild.wasm.framework.unityweb View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:b7d98daddd07e869e7e35bd082d9725f075c437c5c9459f5535c8dc50cb435c3
size 96936
oid sha256:876e3462c81100655179ae1b01473a80a895d1d9947828da34db3ff4f2e9f655
size 96976

+ 8
- 0
Assets/StreamingAssets/WebGLBuild/StreamingAssets.meta View File

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

+ 8
- 0
Assets/StreamingAssets/WebGLBuild/StreamingAssets/WebGLBuild.meta View File

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

+ 8
- 0
Assets/StreamingAssets/WebGLBuild/StreamingAssets/WebGLBuild/Build.meta View File

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

+ 4
- 0
Assets/StreamingAssets/WebGLBuild/StreamingAssets/WebGLBuild/Build/UnityLoader.js
File diff suppressed because it is too large
View File


+ 7
- 0
Assets/StreamingAssets/WebGLBuild/StreamingAssets/WebGLBuild/Build/UnityLoader.js.meta View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 9c6125f8999b5ef4eafe8b677a2e7605
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

+ 3
- 0
Assets/StreamingAssets/WebGLBuild/StreamingAssets/WebGLBuild/Build/WebGLBuild.data.unityweb View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d3b63b387237263b0d53dd2426329f9badf2795062af614a355597e3a2b0c2c6
size 12036029

+ 7
- 0
Assets/StreamingAssets/WebGLBuild/StreamingAssets/WebGLBuild/Build/WebGLBuild.data.unityweb.meta View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 10e94ddfd95c4aa4fbb055b633a15b05
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

+ 13
- 0
Assets/StreamingAssets/WebGLBuild/StreamingAssets/WebGLBuild/Build/WebGLBuild.json View File

@ -0,0 +1,13 @@
{
"companyName": "Pet.Move()",
"productName": "Pet.Move()",
"dataUrl": "WebGLBuild.data.unityweb",
"wasmCodeUrl": "WebGLBuild.wasm.code.unityweb",
"wasmFrameworkUrl": "WebGLBuild.wasm.framework.unityweb",
"TOTAL_MEMORY": 268435456,
"graphicsAPI": ["WebGL 2.0", "WebGL 1.0"],
"webglContextAttributes": {"preserveDrawingBuffer": false},
"splashScreenStyle": "Dark",
"backgroundColor": "#231F20",
"cacheControl": {"default": "must-revalidate"}
}

+ 7
- 0
Assets/StreamingAssets/WebGLBuild/StreamingAssets/WebGLBuild/Build/WebGLBuild.json.meta View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: edfa63ec69385dd44ab24ec8a6a1a6b7
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

+ 3
- 0
Assets/StreamingAssets/WebGLBuild/StreamingAssets/WebGLBuild/Build/WebGLBuild.wasm.code.unityweb View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:187c75f0c272a04e9ee92922facff177067b3d4829c6653d1896ebf8f7dd06ab
size 5553639

+ 7
- 0
Assets/StreamingAssets/WebGLBuild/StreamingAssets/WebGLBuild/Build/WebGLBuild.wasm.code.unityweb.meta View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 7af6aaa3a1109d54b905b7c3e642af5f
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

+ 3
- 0
Assets/StreamingAssets/WebGLBuild/StreamingAssets/WebGLBuild/Build/WebGLBuild.wasm.framework.unityweb View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b7d98daddd07e869e7e35bd082d9725f075c437c5c9459f5535c8dc50cb435c3
size 96936

+ 7
- 0
Assets/StreamingAssets/WebGLBuild/StreamingAssets/WebGLBuild/Build/WebGLBuild.wasm.framework.unityweb.meta View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 955d0b6668704c640a677e8955597716
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

+ 8
- 0
Assets/StreamingAssets/WebGLBuild/StreamingAssets/WebGLBuild/TemplateData.meta View File

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

+ 24
- 0
Assets/StreamingAssets/WebGLBuild/StreamingAssets/WebGLBuild/TemplateData/UnityProgress.js View File

@ -0,0 +1,24 @@
function UnityProgress(gameInstance, progress) {
if (!gameInstance.Module)
return;
if (!gameInstance.logo) {
gameInstance.logo = document.createElement("div");
gameInstance.logo.className = "logo " + gameInstance.Module.splashScreenStyle;
gameInstance.container.appendChild(gameInstance.logo);
}
if (!gameInstance.progress) {
gameInstance.progress = document.createElement("div");
gameInstance.progress.className = "progress " + gameInstance.Module.splashScreenStyle;
gameInstance.progress.empty = document.createElement("div");
gameInstance.progress.empty.className = "empty";
gameInstance.progress.appendChild(gameInstance.progress.empty);
gameInstance.progress.full = document.createElement("div");
gameInstance.progress.full.className = "full";
gameInstance.progress.appendChild(gameInstance.progress.full);
gameInstance.container.appendChild(gameInstance.progress);
}
gameInstance.progress.full.style.width = (100 * progress) + "%";
gameInstance.progress.empty.style.width = (100 * (1 - progress)) + "%";
if (progress == 1)
gameInstance.logo.style.display = gameInstance.progress.style.display = "none";
}

+ 7
- 0
Assets/StreamingAssets/WebGLBuild/StreamingAssets/WebGLBuild/TemplateData/UnityProgress.js.meta View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 46db953f16927a6469202f195e76f605
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

BIN
Assets/StreamingAssets/WebGLBuild/StreamingAssets/WebGLBuild/TemplateData/favicon.ico View File

Before After

+ 7
- 0
Assets/StreamingAssets/WebGLBuild/StreamingAssets/WebGLBuild/TemplateData/favicon.ico.meta View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: ba577b328d6893b44801975001786548
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

+ 3
- 0
Assets/StreamingAssets/WebGLBuild/StreamingAssets/WebGLBuild/TemplateData/fullscreen.png View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:922b2a609219c96962e2e7af9d27c1f1935881de617c9d5cb08fdb0d034cafdc
size 345

+ 7
- 0
Assets/StreamingAssets/WebGLBuild/StreamingAssets/WebGLBuild/TemplateData/fullscreen.png.meta View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 2918e2093142c2c468438dcf2c2f8fed
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

+ 3
- 0
Assets/StreamingAssets/WebGLBuild/StreamingAssets/WebGLBuild/TemplateData/progressEmpty.Dark.png View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3c901e72986f57b3dd474c5b8db981da26ec1d9ad92af9edc722172678c07d44
size 155

+ 7
- 0
Assets/StreamingAssets/WebGLBuild/StreamingAssets/WebGLBuild/TemplateData/progressEmpty.Dark.png.meta View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 9913ad1bd1d2c7c49ab42e56b8198e08
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

+ 3
- 0
Assets/StreamingAssets/WebGLBuild/StreamingAssets/WebGLBuild/TemplateData/progressEmpty.Light.png View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:efbfdb9313bdc0489d96339cf4352c1a80bc953050cf9a6c06a7ced0c0f1a4e2
size 159

+ 7
- 0
Assets/StreamingAssets/WebGLBuild/StreamingAssets/WebGLBuild/TemplateData/progressEmpty.Light.png.meta View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 2efd6ecdb123c894a8da58d7865f4061
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

+ 3
- 0
Assets/StreamingAssets/WebGLBuild/StreamingAssets/WebGLBuild/TemplateData/progressFull.Dark.png View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2832fafec86b420ee29e0e2126b95767a22bff85d30dc90ed8de36246b395fd8
size 137

+ 7
- 0
Assets/StreamingAssets/WebGLBuild/StreamingAssets/WebGLBuild/TemplateData/progressFull.Dark.png.meta View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 8f19bef98138c954fae3ec8e9adc1a10
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

+ 3
- 0
Assets/StreamingAssets/WebGLBuild/StreamingAssets/WebGLBuild/TemplateData/progressFull.Light.png View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:706765aced698c9790bb31eafd12b8161fadc46a62214926788a7a84cdc5fb51
size 142

+ 7
- 0
Assets/StreamingAssets/WebGLBuild/StreamingAssets/WebGLBuild/TemplateData/progressFull.Light.png.meta View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: a37656c44ad6b9249b9d77182ea93c1c
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

+ 3
- 0
Assets/StreamingAssets/WebGLBuild/StreamingAssets/WebGLBuild/TemplateData/progressLogo.Dark.png View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b95da4db2adc10af8bee6bfccb5246cc356b3164ce7caf6c7581c1002d64b71b
size 2343

+ 7
- 0
Assets/StreamingAssets/WebGLBuild/StreamingAssets/WebGLBuild/TemplateData/progressLogo.Dark.png.meta View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: f908e42f232c07b4a83aec7e85477d88
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

+ 3
- 0
Assets/StreamingAssets/WebGLBuild/StreamingAssets/WebGLBuild/TemplateData/progressLogo.Light.png View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:270d4f3c53ec8acbef1657520116e9bbd5efe074e4fc12db05fdb9a745ae96bb
size 2259

+ 7
- 0
Assets/StreamingAssets/WebGLBuild/StreamingAssets/WebGLBuild/TemplateData/progressLogo.Light.png.meta View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 248ce049d0211024484022b0a41c733a
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

+ 18
- 0
Assets/StreamingAssets/WebGLBuild/StreamingAssets/WebGLBuild/TemplateData/style.css View File

@ -0,0 +1,18 @@
.webgl-content * {border: 0; margin: 0; padding: 0}
.webgl-content {position: absolute; top: 50%; left: 50%; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%);}
.webgl-content .logo, .progress {position: absolute; left: 50%; top: 50%; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%);}
.webgl-content .logo {background: url('progressLogo.Light.png') no-repeat center / contain; width: 154px; height: 130px;}
.webgl-content .progress {height: 18px; width: 141px; margin-top: 90px;}
.webgl-content .progress .empty {background: url('progressEmpty.Light.png') no-repeat right / cover; float: right; width: 100%; height: 100%; display: inline-block;}
.webgl-content .progress .full {background: url('progressFull.Light.png') no-repeat left / cover; float: left; width: 0%; height: 100%; display: inline-block;}
.webgl-content .logo.Dark {background-image: url('progressLogo.Dark.png');}
.webgl-content .progress.Dark .empty {background-image: url('progressEmpty.Dark.png');}
.webgl-content .progress.Dark .full {background-image: url('progressFull.Dark.png');}
.webgl-content .footer {margin-top: 5px; height: 38px; line-height: 38px; font-family: Helvetica, Verdana, Arial, sans-serif; font-size: 18px;}
.webgl-content .footer .webgl-logo, .title, .fullscreen {height: 100%; display: inline-block; background: transparent center no-repeat;}
.webgl-content .footer .webgl-logo {background-image: url('webgl-logo.png'); width: 204px; float: left;}
.webgl-content .footer .title {margin-right: 10px; float: right;}
.webgl-content .footer .fullscreen {background-image: url('fullscreen.png'); width: 38px; float: right;}

+ 7
- 0
Assets/StreamingAssets/WebGLBuild/StreamingAssets/WebGLBuild/TemplateData/style.css.meta View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 90965324ba3f03648886ea07992e8529
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

+ 3
- 0
Assets/StreamingAssets/WebGLBuild/StreamingAssets/WebGLBuild/TemplateData/webgl-logo.png View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f02bcd2abdd299a100ab8e2a339b3f414727816901ecda211d68cb7ba0705da0
size 3587

+ 7
- 0
Assets/StreamingAssets/WebGLBuild/StreamingAssets/WebGLBuild/TemplateData/webgl-logo.png.meta View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 0896f760ed637eb4393e9acbafc00bad
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

+ 25
- 0
Assets/StreamingAssets/WebGLBuild/StreamingAssets/WebGLBuild/index.html View File

@ -0,0 +1,25 @@
<!DOCTYPE html>
<html lang="en-us">
<head>
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Unity WebGL Player | Pet.Move()</title>
<link rel="shortcut icon" href="TemplateData/favicon.ico">
<link rel="stylesheet" href="TemplateData/style.css">
<script src="TemplateData/UnityProgress.js"></script>
<script src="Build/UnityLoader.js"></script>
<script>
var gameInstance = UnityLoader.instantiate("gameContainer", "Build/WebGLBuild.json", {onProgress: UnityProgress});
</script>
</head>
<body>
<div class="webgl-content">
<div id="gameContainer" style="width: 960px; height: 600px"></div>
<div class="footer">
<div class="webgl-logo"></div>
<div class="fullscreen" onclick="gameInstance.SetFullscreen(1)"></div>
<div class="title">Pet.Move()</div>
</div>
</div>
</body>
</html>

+ 7
- 0
Assets/StreamingAssets/WebGLBuild/StreamingAssets/WebGLBuild/index.html.meta View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 6a9718922a68b0642a781eb4d512fba5
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

+ 1
- 1
ProjectSettings/EditorBuildSettings.asset View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:81dc2bb76c1a5b7639713c40b44bce40b5757f89e1fe33e7033950ea47e88071
oid sha256:7be799905646e6d7aaab37702ab8e14db03f14e8814c42bb9471fdcb8028125e
size 1282 size 1282

Loading…
Cancel
Save