Compare commits

...

22 Commits

File diff suppressed because it is too large Load Diff

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

@ -116,6 +116,15 @@ public partial class @Inputs : IInputActionCollection2, IDisposable
""processors"": """", ""processors"": """",
""interactions"": """", ""interactions"": """",
""initialStateCheck"": false ""initialStateCheck"": false
},
{
""name"": ""Pause"",
""type"": ""Button"",
""id"": ""f130e6cf-9ecc-46b1-b37d-bf452dae29f0"",
""expectedControlType"": ""Button"",
""processors"": """",
""interactions"": """",
""initialStateCheck"": false
} }
], ],
""bindings"": [ ""bindings"": [
@ -272,6 +281,17 @@ public partial class @Inputs : IInputActionCollection2, IDisposable
""action"": ""Eat"", ""action"": ""Eat"",
""isComposite"": false, ""isComposite"": false,
""isPartOfComposite"": false ""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""81322c8b-dcdc-41da-a2af-8a9eb451461c"",
""path"": ""<Keyboard>/escape"",
""interactions"": """",
""processors"": """",
""groups"": """",
""action"": ""Pause"",
""isComposite"": false,
""isPartOfComposite"": false
} }
] ]
} }
@ -290,6 +310,7 @@ public partial class @Inputs : IInputActionCollection2, IDisposable
m_Movement_Interact = m_Movement.FindAction("Interact", throwIfNotFound: true); m_Movement_Interact = m_Movement.FindAction("Interact", throwIfNotFound: true);
m_Movement_Mouse_Pos = m_Movement.FindAction("Mouse_Pos", throwIfNotFound: true); m_Movement_Mouse_Pos = m_Movement.FindAction("Mouse_Pos", throwIfNotFound: true);
m_Movement_Eat = m_Movement.FindAction("Eat", throwIfNotFound: true); m_Movement_Eat = m_Movement.FindAction("Eat", throwIfNotFound: true);
m_Movement_Pause = m_Movement.FindAction("Pause", throwIfNotFound: true);
} }
public void Dispose() public void Dispose()
@ -359,6 +380,7 @@ public partial class @Inputs : IInputActionCollection2, IDisposable
private readonly InputAction m_Movement_Interact; private readonly InputAction m_Movement_Interact;
private readonly InputAction m_Movement_Mouse_Pos; private readonly InputAction m_Movement_Mouse_Pos;
private readonly InputAction m_Movement_Eat; private readonly InputAction m_Movement_Eat;
private readonly InputAction m_Movement_Pause;
public struct MovementActions public struct MovementActions
{ {
private @Inputs m_Wrapper; private @Inputs m_Wrapper;
@ -373,6 +395,7 @@ public partial class @Inputs : IInputActionCollection2, IDisposable
public InputAction @Interact => m_Wrapper.m_Movement_Interact; public InputAction @Interact => m_Wrapper.m_Movement_Interact;
public InputAction @Mouse_Pos => m_Wrapper.m_Movement_Mouse_Pos; public InputAction @Mouse_Pos => m_Wrapper.m_Movement_Mouse_Pos;
public InputAction @Eat => m_Wrapper.m_Movement_Eat; public InputAction @Eat => m_Wrapper.m_Movement_Eat;
public InputAction @Pause => m_Wrapper.m_Movement_Pause;
public InputActionMap Get() { return m_Wrapper.m_Movement; } public InputActionMap Get() { return m_Wrapper.m_Movement; }
public void Enable() { Get().Enable(); } public void Enable() { Get().Enable(); }
public void Disable() { Get().Disable(); } public void Disable() { Get().Disable(); }
@ -412,6 +435,9 @@ public partial class @Inputs : IInputActionCollection2, IDisposable
@Eat.started -= m_Wrapper.m_MovementActionsCallbackInterface.OnEat; @Eat.started -= m_Wrapper.m_MovementActionsCallbackInterface.OnEat;
@Eat.performed -= m_Wrapper.m_MovementActionsCallbackInterface.OnEat; @Eat.performed -= m_Wrapper.m_MovementActionsCallbackInterface.OnEat;
@Eat.canceled -= m_Wrapper.m_MovementActionsCallbackInterface.OnEat; @Eat.canceled -= m_Wrapper.m_MovementActionsCallbackInterface.OnEat;
@Pause.started -= m_Wrapper.m_MovementActionsCallbackInterface.OnPause;
@Pause.performed -= m_Wrapper.m_MovementActionsCallbackInterface.OnPause;
@Pause.canceled -= m_Wrapper.m_MovementActionsCallbackInterface.OnPause;
} }
m_Wrapper.m_MovementActionsCallbackInterface = instance; m_Wrapper.m_MovementActionsCallbackInterface = instance;
if (instance != null) if (instance != null)
@ -446,6 +472,9 @@ public partial class @Inputs : IInputActionCollection2, IDisposable
@Eat.started += instance.OnEat; @Eat.started += instance.OnEat;
@Eat.performed += instance.OnEat; @Eat.performed += instance.OnEat;
@Eat.canceled += instance.OnEat; @Eat.canceled += instance.OnEat;
@Pause.started += instance.OnPause;
@Pause.performed += instance.OnPause;
@Pause.canceled += instance.OnPause;
} }
} }
} }
@ -462,5 +491,6 @@ public partial class @Inputs : IInputActionCollection2, IDisposable
void OnInteract(InputAction.CallbackContext context); void OnInteract(InputAction.CallbackContext context);
void OnMouse_Pos(InputAction.CallbackContext context); void OnMouse_Pos(InputAction.CallbackContext context);
void OnEat(InputAction.CallbackContext context); void OnEat(InputAction.CallbackContext context);
void OnPause(InputAction.CallbackContext context);
} }
} }

@ -94,6 +94,15 @@
"processors": "", "processors": "",
"interactions": "", "interactions": "",
"initialStateCheck": false "initialStateCheck": false
},
{
"name": "Pause",
"type": "Button",
"id": "f130e6cf-9ecc-46b1-b37d-bf452dae29f0",
"expectedControlType": "Button",
"processors": "",
"interactions": "",
"initialStateCheck": false
} }
], ],
"bindings": [ "bindings": [
@ -250,6 +259,17 @@
"action": "Eat", "action": "Eat",
"isComposite": false, "isComposite": false,
"isPartOfComposite": false "isPartOfComposite": false
},
{
"name": "",
"id": "81322c8b-dcdc-41da-a2af-8a9eb451461c",
"path": "<Keyboard>/escape",
"interactions": "",
"processors": "",
"groups": "",
"action": "Pause",
"isComposite": false,
"isPartOfComposite": false
} }
] ]
} }

Before

Width:  |  Height:  |  Size: 200 B

After

Width:  |  Height:  |  Size: 200 B

@ -113,6 +113,18 @@ TextureImporter:
overridden: 0 overridden: 0
androidETC2FallbackOverride: 0 androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0 forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: WebGL
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: 4
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet: spriteSheet:
serializedVersion: 2 serializedVersion: 2
sprites: [] sprites: []

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.0 KiB

@ -0,0 +1,597 @@
fileFormatVersion: 2
guid: 7d9ad5e849e934c4c9fe1f18d9284644
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
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
vTOnly: 0
ignoreMasterTextureLimit: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: 0
aniso: 1
mipBias: 0
wrapU: 1
wrapV: 1
wrapW: 1
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 2
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 4
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
cookieLightType: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: 4
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 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
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Server
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: WebGL
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: 4
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites:
- serializedVersion: 2
name: Buttons 1_0
rect:
serializedVersion: 2
x: 0
y: 192
width: 128
height: 32
alignment: 9
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: 161a592f47406274f8af4a6a27059654
internalID: 124789168
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: Buttons 1_1
rect:
serializedVersion: 2
x: 128
y: 192
width: 128
height: 32
alignment: 9
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: 478dde57a3584294eaa83a4e02fe91ea
internalID: 622712040
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: Buttons 1_2
rect:
serializedVersion: 2
x: 256
y: 192
width: 128
height: 32
alignment: 9
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: 8d9d32ebb11f995489d4f9939eb3452b
internalID: -1117267334
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: Buttons 1_3
rect:
serializedVersion: 2
x: 0
y: 160
width: 128
height: 32
alignment: 9
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: ce52512da9d682b44a6615fc6771f40d
internalID: -526816652
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: Buttons 1_4
rect:
serializedVersion: 2
x: 128
y: 160
width: 128
height: 32
alignment: 9
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: 218eda6f62efcac408f4bb251c66cff2
internalID: -1743265299
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: Buttons 1_5
rect:
serializedVersion: 2
x: 256
y: 160
width: 128
height: 32
alignment: 9
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: 27b5ccdf860965340b955403078db66c
internalID: 1104501106
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: Buttons 1_6
rect:
serializedVersion: 2
x: 0
y: 128
width: 128
height: 32
alignment: 9
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: b13672f1fabae294aa37b5ef6fef00e7
internalID: 581330340
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: Buttons 1_7
rect:
serializedVersion: 2
x: 128
y: 128
width: 128
height: 32
alignment: 9
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: 1dcde7be5d38c014ab653787ad9c5b4b
internalID: -806958928
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: Buttons 1_8
rect:
serializedVersion: 2
x: 256
y: 128
width: 128
height: 32
alignment: 9
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: b1815a3ecbdb4cb4c86506ba86c60ef2
internalID: 126313575
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: Buttons 1_9
rect:
serializedVersion: 2
x: 0
y: 96
width: 128
height: 32
alignment: 9
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: 4b0f6e6801ca9094aac2d60907567046
internalID: -1947440698
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: Buttons 1_10
rect:
serializedVersion: 2
x: 128
y: 96
width: 128
height: 32
alignment: 9
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: 332abcaa67ef6b94a8cdd8a95a10ff7a
internalID: 9354910
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: Buttons 1_11
rect:
serializedVersion: 2
x: 256
y: 96
width: 128
height: 32
alignment: 9
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: e63fe8e816e6d92499901aec11f689af
internalID: 235863675
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: Buttons 1_12
rect:
serializedVersion: 2
x: 0
y: 64
width: 128
height: 32
alignment: 9
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: 04e1937fe850c10468b9d5805e069033
internalID: 806745301
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: Buttons 1_13
rect:
serializedVersion: 2
x: 128
y: 64
width: 128
height: 32
alignment: 9
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: 55654bfd602c99346b5c21aa56399d1f
internalID: -67739428
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: Buttons 1_14
rect:
serializedVersion: 2
x: 256
y: 64
width: 128
height: 32
alignment: 9
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: 0c0358a70f86e6f449294e471e9ee9a3
internalID: -2022532235
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: Buttons 1_15
rect:
serializedVersion: 2
x: 0
y: 32
width: 128
height: 32
alignment: 9
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: 5aff29832a4cbae4ab9fff967cb7c248
internalID: -26785794
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: Buttons 1_16
rect:
serializedVersion: 2
x: 128
y: 32
width: 128
height: 32
alignment: 9
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: ca3f96839a6c8ec47b0f3083086b238f
internalID: -1014390930
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: Buttons 1_17
rect:
serializedVersion: 2
x: 256
y: 32
width: 128
height: 32
alignment: 9
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: c3e6b16d283ea274f9c5ca1016b4cef3
internalID: -490898060
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: Buttons 1_18
rect:
serializedVersion: 2
x: 0
y: 0
width: 128
height: 32
alignment: 9
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: 97b0f1017c1ddc649a1e62731cffdfb3
internalID: 1897026678
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: Buttons 1_19
rect:
serializedVersion: 2
x: 128
y: 0
width: 128
height: 32
alignment: 9
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: e7b63753b8e25154f90e90b9165a6443
internalID: 1248494719
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: Buttons 1_20
rect:
serializedVersion: 2
x: 256
y: 0
width: 128
height: 32
alignment: 9
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: d682e541b629e4e499a5f919d72e0fe6
internalID: -1317490694
vertices: []
indices:
edges: []
weights: []
outline: []
physicsShape: []
bones: []
spriteID: 5e97eb03825dee720800000000000000
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
nameFileIdTable:
Buttons 1_1: 622712040
Buttons 1_0: 124789168
Buttons 1_2: -1117267334
Buttons 1_3: -526816652
Buttons 1_17: -490898060
Buttons 1_5: 1104501106
Buttons 1_20: -1317490694
Buttons 1_13: -67739428
Buttons 1_14: -2022532235
Buttons 1_15: -26785794
Buttons 1_8: 126313575
Buttons 1_16: -1014390930
Buttons 1_12: 806745301
Buttons 1_18: 1897026678
Buttons 1_7: -806958928
Buttons 1_4: -1743265299
Buttons 1_9: -1947440698
Buttons 1_10: 9354910
Buttons 1_6: 581330340
Buttons 1_11: 235863675
Buttons 1_19: 1248494719
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

@ -0,0 +1,927 @@
fileFormatVersion: 2
guid: 82f95a689dac6fa45a602cf7522fdc01
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
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
vTOnly: 0
ignoreMasterTextureLimit: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: 0
aniso: 1
mipBias: 0
wrapU: 1
wrapV: 1
wrapW: 1
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 2
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
cookieLightType: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: 4
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 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
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Server
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: WebGL
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: 4
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites:
- serializedVersion: 2
name: Buttons 2_0
rect:
serializedVersion: 2
x: 0
y: 352
width: 128
height: 32
alignment: 0
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: d8d7238dacca3314ca0a92fd3764871b
internalID: -1276340004
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: Buttons 2_1
rect:
serializedVersion: 2
x: 128
y: 352
width: 128
height: 32
alignment: 0
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: b88c0b0d33d3d274393a9ce0baba6d62
internalID: 861167032
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: Buttons 2_2
rect:
serializedVersion: 2
x: 256
y: 352
width: 128
height: 32
alignment: 0
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: 412868f2317b81f4fa3fdc7abf2c21ee
internalID: 952167119
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: Buttons 2_3
rect:
serializedVersion: 2
x: 0
y: 320
width: 128
height: 32
alignment: 0
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: abe1ac5d7cd92c44d98e3f214c34fd1c
internalID: -2078640904
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: Buttons 2_4
rect:
serializedVersion: 2
x: 128
y: 320
width: 128
height: 32
alignment: 0
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: 1bf1015721d11ff47bd8bc3f3567b65d
internalID: 377597143
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: Buttons 2_5
rect:
serializedVersion: 2
x: 256
y: 320
width: 128
height: 32
alignment: 0
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: 086458f426673a3448e16247e2c39edd
internalID: 1615260616
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: Buttons 2_6
rect:
serializedVersion: 2
x: 0
y: 288
width: 128
height: 32
alignment: 0
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: 5b72c893f99fc99439b0d61e6708f6cc
internalID: -791942153
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: Buttons 2_7
rect:
serializedVersion: 2
x: 128
y: 288
width: 128
height: 32
alignment: 0
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: 41a2b1532fe58c342ada0501761b6f03
internalID: -108896437
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: Buttons 2_8
rect:
serializedVersion: 2
x: 256
y: 288
width: 128
height: 32
alignment: 0
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: 195760b1f5bbbb64cafeaca17109348c
internalID: -387033175
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: Buttons 2_9
rect:
serializedVersion: 2
x: 0
y: 256
width: 128
height: 32
alignment: 0
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: 63e6c0ac36d9f5a49b6eaa0fe2e159f6
internalID: -361745874
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: Buttons 2_10
rect:
serializedVersion: 2
x: 128
y: 256
width: 128
height: 32
alignment: 0
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: 1c5474ca426d3be428b7ca19fa790396
internalID: -1093796284
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: Buttons 2_11
rect:
serializedVersion: 2
x: 256
y: 256
width: 128
height: 32
alignment: 0
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: 0072690c10f24884f994d5e9de084ffa
internalID: 861353735
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: Buttons 2_12
rect:
serializedVersion: 2
x: 0
y: 224
width: 128
height: 32
alignment: 0
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: 5ed1cde5dbac40d4caf0549fed734585
internalID: 956093598
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: Buttons 2_13
rect:
serializedVersion: 2
x: 128
y: 224
width: 128
height: 32
alignment: 0
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: 064013657dcc8de4a944b1e9e30b06ee
internalID: 579181859
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: Buttons 2_14
rect:
serializedVersion: 2
x: 256
y: 224
width: 128
height: 32
alignment: 0
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: 860babee39b8d8d4b9f6af22d9e1fc8e
internalID: 861230761
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: Buttons 2_15
rect:
serializedVersion: 2
x: 0
y: 192
width: 128
height: 32
alignment: 0
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: b5654d7e6eaf48c44b8119e84776d179
internalID: 660282537
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: Buttons 2_16
rect:
serializedVersion: 2
x: 128
y: 192
width: 128
height: 32
alignment: 0
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: b0e10a41800ad37419711ec343d25375
internalID: 2012930550
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: Buttons 2_17
rect:
serializedVersion: 2
x: 256
y: 192
width: 128
height: 32
alignment: 0
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: 214d5145406f6c74eb779629ec4d852e
internalID: -1794009786
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: Buttons 2_18
rect:
serializedVersion: 2
x: 0
y: 160
width: 128
height: 32
alignment: 0
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: b940a53da6681bf448327d3e536a92ae
internalID: -1291985532
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: Buttons 2_19
rect:
serializedVersion: 2
x: 128
y: 160
width: 128
height: 32
alignment: 0
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: ab74360b67b816648ab0838b091bc3dc
internalID: -1458766980
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: Buttons 2_20
rect:
serializedVersion: 2
x: 256
y: 160
width: 128
height: 32
alignment: 0
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: f6bbbf299efd83f4ea7d907bcb660e32
internalID: -1154365120
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: Buttons 2_21
rect:
serializedVersion: 2
x: 0
y: 128
width: 128
height: 32
alignment: 0
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: aa03f69add112f34697e64d473dd9ac1
internalID: -1781206890
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: Buttons 2_22
rect:
serializedVersion: 2
x: 128
y: 128
width: 128
height: 32
alignment: 0
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: f7da8d5a9c0908142a964174612697d9
internalID: -1749346042
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: Buttons 2_23
rect:
serializedVersion: 2
x: 256
y: 128
width: 128
height: 32
alignment: 0
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: e66708be41246174e99f318e46c595f2
internalID: 844590160
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: Buttons 2_24
rect:
serializedVersion: 2
x: 0
y: 96
width: 128
height: 32
alignment: 0
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: f96ced848e5935b48936b331b20058b4
internalID: -1637034928
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: Buttons 2_25
rect:
serializedVersion: 2
x: 128
y: 96
width: 128
height: 32
alignment: 0
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: 42e694d05b9c2904cb2507a615040689
internalID: -1348486068
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: Buttons 2_26
rect:
serializedVersion: 2
x: 256
y: 96
width: 128
height: 32
alignment: 0
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: 90970fdecc458d24f8384e30244dfcda
internalID: -1052213344
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: Buttons 2_27
rect:
serializedVersion: 2
x: 0
y: 64
width: 128
height: 32
alignment: 0
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: 3ddfa60bdc5a1a3469a999e302507f11
internalID: 125139188
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: Buttons 2_28
rect:
serializedVersion: 2
x: 128
y: 64
width: 128
height: 32
alignment: 0
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: b28e9428877b71a4b8a0d4af31e9a4f1
internalID: 788744563
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: Buttons 2_29
rect:
serializedVersion: 2
x: 256
y: 64
width: 128
height: 32
alignment: 0
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: 0bb4ceb3b3c9ceb45aa78b740b91a265
internalID: 755915474
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: Buttons 2_30
rect:
serializedVersion: 2
x: 0
y: 32
width: 128
height: 32
alignment: 0
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: 13c994c3583d189409792a725602c3d1
internalID: 153581453
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: Buttons 2_31
rect:
serializedVersion: 2
x: 128
y: 32
width: 128
height: 32
alignment: 0
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: 2f3c52f6b9731cd41b59e8af2550f2ae
internalID: 1873257454
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: Buttons 2_32
rect:
serializedVersion: 2
x: 256
y: 32
width: 128
height: 32
alignment: 0
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: c3ac810c178eaec4dbcfaf271a60a206
internalID: 748785077
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: Buttons 2_33
rect:
serializedVersion: 2
x: 0
y: 0
width: 128
height: 32
alignment: 0
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: 212cf07703b65a54a9055460ddd8daf5
internalID: -2008303819
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: Buttons 2_34
rect:
serializedVersion: 2
x: 128
y: 0
width: 128
height: 32
alignment: 0
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: 31419bcddeee1af4b907ce122923bfd8
internalID: -909816665
vertices: []
indices:
edges: []
weights: []
- serializedVersion: 2
name: Buttons 2_35
rect:
serializedVersion: 2
x: 256
y: 0
width: 128
height: 32
alignment: 0
pivot: {x: 0, y: 0}
border: {x: 0, y: 0, z: 0, w: 0}
outline: []
physicsShape: []
tessellationDetail: 0
bones: []
spriteID: 5dba5659d944af446a60644fa4228ab6
internalID: 991074552
vertices: []
indices:
edges: []
weights: []
outline: []
physicsShape: []
bones: []
spriteID: 5e97eb03825dee720800000000000000
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
nameFileIdTable:
Buttons 2_3: -2078640904
Buttons 2_2: 952167119
Buttons 2_4: 377597143
Buttons 2_16: 2012930550
Buttons 2_18: -1291985532
Buttons 2_35: 991074552
Buttons 2_31: 1873257454
Buttons 2_34: -909816665
Buttons 2_19: -1458766980
Buttons 2_7: -108896437
Buttons 2_0: -1276340004
Buttons 2_15: 660282537
Buttons 2_13: 579181859
Buttons 2_1: 861167032
Buttons 2_6: -791942153
Buttons 2_8: -387033175
Buttons 2_25: -1348486068
Buttons 2_26: -1052213344
Buttons 2_9: -361745874
Buttons 2_21: -1781206890
Buttons 2_29: 755915474
Buttons 2_28: 788744563
Buttons 2_17: -1794009786
Buttons 2_24: -1637034928
Buttons 2_23: 844590160
Buttons 2_33: -2008303819
Buttons 2_20: -1154365120
Buttons 2_30: 153581453
Buttons 2_5: 1615260616
Buttons 2_11: 861353735
Buttons 2_22: -1749346042
Buttons 2_10: -1093796284
Buttons 2_14: 861230761
Buttons 2_12: 956093598
Buttons 2_32: 748785077
Buttons 2_27: 125139188
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:

Before

Width:  |  Height:  |  Size: 8.0 KiB

After

Width:  |  Height:  |  Size: 8.0 KiB

Before

Width:  |  Height:  |  Size: 272 B

After

Width:  |  Height:  |  Size: 272 B

@ -113,6 +113,18 @@ TextureImporter:
overridden: 0 overridden: 0
androidETC2FallbackOverride: 0 androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0 forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: WebGL
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: 4
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet: spriteSheet:
serializedVersion: 2 serializedVersion: 2
sprites: [] sprites: []

Before

Width:  |  Height:  |  Size: 306 B

After

Width:  |  Height:  |  Size: 306 B

Before

Width:  |  Height:  |  Size: 4.6 KiB

After

Width:  |  Height:  |  Size: 4.6 KiB

Before

Width:  |  Height:  |  Size: 123 B

After

Width:  |  Height:  |  Size: 123 B

Before

Width:  |  Height:  |  Size: 83 B

After

Width:  |  Height:  |  Size: 83 B

@ -101,6 +101,18 @@ TextureImporter:
overridden: 0 overridden: 0
androidETC2FallbackOverride: 0 androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0 forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: WebGL
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: 4
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet: spriteSheet:
serializedVersion: 2 serializedVersion: 2
sprites: [] sprites: []

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Before

Width:  |  Height:  |  Size: 180 B

After

Width:  |  Height:  |  Size: 180 B

Before

Width:  |  Height:  |  Size: 211 B

After

Width:  |  Height:  |  Size: 211 B

Before

Width:  |  Height:  |  Size: 801 B

After

Width:  |  Height:  |  Size: 801 B

@ -101,6 +101,18 @@ TextureImporter:
overridden: 0 overridden: 0
androidETC2FallbackOverride: 0 androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0 forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: WebGL
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: 4
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet: spriteSheet:
serializedVersion: 2 serializedVersion: 2
sprites: sprites:

Before

Width:  |  Height:  |  Size: 283 B

After

Width:  |  Height:  |  Size: 283 B

Before

Width:  |  Height:  |  Size: 5.2 KiB

After

Width:  |  Height:  |  Size: 5.2 KiB

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

Before

Width:  |  Height:  |  Size: 111 B

After

Width:  |  Height:  |  Size: 111 B

Before

Width:  |  Height:  |  Size: 163 B

After

Width:  |  Height:  |  Size: 163 B

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

@ -0,0 +1,55 @@
using UnityEngine;
using System.Collections;
using UnityEngine.InputSystem;
public class PauseMenu : MonoBehaviour
{
public GameObject pauseMenu;
private bool paused = false;
public GameObject homeObj;
public PlayerMovement mov;
private Inputs Input;
private InputAction pause;
void Update()
{
pause.performed += _ => ToggleActive();
}
private void Awake()
{
Input = new Inputs();
}
private void OnEnable()
{
pause = Input.Movement.Pause;
pause.Enable();
}
private void OnDisable()
{
pause.Disable();
}
public void ResumeGame()
{
paused = false;
}
public void GoToHome()
{
mov.rb.position = homeObj.transform.position;
paused = false;
}
private void ToggleActive()
{
if (paused)
{
pauseMenu.SetActive(true);
Time.timeScale = 0;
}
else
{
pauseMenu.SetActive(false);
Time.timeScale = 1;
}
paused = !paused;
}
}

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

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save