Fix some gfx. Add QOL for test animtion scene

This commit is contained in:
Tran Hai Nam
2026-05-21 11:13:32 +07:00
parent fe2f30d1f1
commit e01c6ffd21
11 changed files with 136 additions and 84 deletions
@@ -15,7 +15,7 @@ MonoBehaviour:
m_DefaultGroup: 712e3991f28e549e7a56ee582a977810
m_currentHash:
serializedVersion: 2
Hash: 00000000000000000000000000000000
Hash: 564cd9ab0e63f961ec93494e99c5244d
m_OptimizeCatalogSize: 0
m_BuildRemoteCatalog: 0
m_CatalogRequestsTimeout: 0
@@ -26,13 +26,13 @@ Transform:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3720844413911946937}
serializedVersion: 2
m_LocalRotation: {x: 0.7071068, y: -0, z: -0, w: 0.7071068}
m_LocalPosition: {x: -0.178, y: -0.33000004, z: 0}
m_LocalRotation: {x: 0.76604444, y: 0, z: 0, w: 0.64278764}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 4217133699093346958}
m_LocalEulerAnglesHint: {x: -90, y: 0, z: 0}
m_LocalEulerAnglesHint: {x: 100, y: 0, z: 0}
--- !u!198 &8924156590734961407
ParticleSystem:
m_ObjectHideFlags: 0
@@ -48,7 +48,7 @@ ParticleSystem:
ringBufferMode: 0
ringBufferLoopRange: {x: 0, y: 1}
emitterVelocityMode: 1
looping: 0
looping: 1
prewarm: 0
playOnAwake: 1
useUnscaledTime: 0
@@ -4868,15 +4868,15 @@ Transform:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4197944621747409826}
serializedVersion: 2
m_LocalRotation: {x: -0.6878776, y: -0.16378161, z: 0.16378164, w: 0.6878776}
m_LocalPosition: {x: 0.26, y: 1.51, z: -0.52}
m_LocalRotation: {x: -0.6874251, y: -0.1656708, z: 0.1656708, w: 0.6874251}
m_LocalPosition: {x: 0.26, y: 1.98, z: -0.52}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 9001597620150510150}
- {fileID: 4268857114784208764}
m_Father: {fileID: 1604809390761698253}
m_LocalEulerAnglesHint: {x: -63.215, y: -90, z: 90}
m_LocalEulerAnglesHint: {x: -62.9, y: -90, z: 90}
--- !u!198 &2477563411527212070
ParticleSystem:
m_ObjectHideFlags: 0
@@ -14601,13 +14601,13 @@ Transform:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8351087001867188720}
serializedVersion: 2
m_LocalRotation: {x: 0.7071068, y: -0, z: -0, w: 0.7071068}
m_LocalRotation: {x: 0.76604444, y: 0, z: 0, w: 0.64278764}
m_LocalPosition: {x: -0.178, y: -0.33000004, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 4217133699093346958}
m_LocalEulerAnglesHint: {x: -90, y: 0, z: 0}
m_LocalEulerAnglesHint: {x: 100, y: 0, z: 0}
--- !u!198 &7496596049144268267
ParticleSystem:
m_ObjectHideFlags: 0
@@ -42,7 +42,7 @@ ParticleSystem:
m_GameObject: {fileID: 15156914950836463}
serializedVersion: 8
lengthInSec: 2.33
simulationSpeed: 1
simulationSpeed: 2
stopAction: 0
cullingMode: 0
ringBufferMode: 0
@@ -4934,7 +4934,7 @@ ParticleSystem:
m_GameObject: {fileID: 349010415179721749}
serializedVersion: 8
lengthInSec: 2.33
simulationSpeed: 1
simulationSpeed: 2
stopAction: 0
cullingMode: 0
ringBufferMode: 0
@@ -9826,7 +9826,7 @@ ParticleSystem:
m_GameObject: {fileID: 429752902677186327}
serializedVersion: 8
lengthInSec: 2.33
simulationSpeed: 1
simulationSpeed: 2
stopAction: 0
cullingMode: 0
ringBufferMode: 0
@@ -14659,7 +14659,7 @@ ParticleSystem:
m_GameObject: {fileID: 524335427812590582}
serializedVersion: 8
lengthInSec: 2.33
simulationSpeed: 1
simulationSpeed: 2
stopAction: 0
cullingMode: 0
ringBufferMode: 0
@@ -19494,7 +19494,7 @@ ParticleSystem:
m_GameObject: {fileID: 852501820064385231}
serializedVersion: 8
lengthInSec: 2.33
simulationSpeed: 1
simulationSpeed: 2
stopAction: 0
cullingMode: 0
ringBufferMode: 0
@@ -24387,7 +24387,7 @@ ParticleSystem:
m_GameObject: {fileID: 1564838389531116705}
serializedVersion: 8
lengthInSec: 2.33
simulationSpeed: 1
simulationSpeed: 2
stopAction: 0
cullingMode: 0
ringBufferMode: 0
@@ -34119,7 +34119,7 @@ ParticleSystem:
m_GameObject: {fileID: 1991856825253685314}
serializedVersion: 8
lengthInSec: 2.33
simulationSpeed: 1
simulationSpeed: 2
stopAction: 0
cullingMode: 0
ringBufferMode: 0
@@ -39010,7 +39010,7 @@ ParticleSystem:
m_GameObject: {fileID: 2169994430969108881}
serializedVersion: 8
lengthInSec: 2.33
simulationSpeed: 1
simulationSpeed: 2
stopAction: 0
cullingMode: 0
ringBufferMode: 0
@@ -43843,7 +43843,7 @@ ParticleSystem:
m_GameObject: {fileID: 2197194896416800428}
serializedVersion: 8
lengthInSec: 2.33
simulationSpeed: 1
simulationSpeed: 2
stopAction: 0
cullingMode: 0
ringBufferMode: 0
@@ -48735,7 +48735,7 @@ ParticleSystem:
m_GameObject: {fileID: 2697318837988795809}
serializedVersion: 8
lengthInSec: 2.33
simulationSpeed: 1
simulationSpeed: 2
stopAction: 0
cullingMode: 0
ringBufferMode: 0
@@ -53568,7 +53568,7 @@ ParticleSystem:
m_GameObject: {fileID: 4043570496662948557}
serializedVersion: 8
lengthInSec: 2.33
simulationSpeed: 1
simulationSpeed: 2
stopAction: 0
cullingMode: 0
ringBufferMode: 0
@@ -58403,7 +58403,7 @@ ParticleSystem:
m_GameObject: {fileID: 4134620181112707567}
serializedVersion: 8
lengthInSec: 2.33
simulationSpeed: 1
simulationSpeed: 2
stopAction: 0
cullingMode: 0
ringBufferMode: 0
@@ -63294,7 +63294,7 @@ ParticleSystem:
m_GameObject: {fileID: 4206773510139196571}
serializedVersion: 8
lengthInSec: 2.33
simulationSpeed: 1
simulationSpeed: 2
stopAction: 0
cullingMode: 0
ringBufferMode: 0
@@ -68186,7 +68186,7 @@ ParticleSystem:
m_GameObject: {fileID: 5090543755686395234}
serializedVersion: 8
lengthInSec: 2.33
simulationSpeed: 1
simulationSpeed: 2
stopAction: 0
cullingMode: 0
ringBufferMode: 0
@@ -73019,7 +73019,7 @@ ParticleSystem:
m_GameObject: {fileID: 6375197309835102049}
serializedVersion: 8
lengthInSec: 2.33
simulationSpeed: 1
simulationSpeed: 2
stopAction: 0
cullingMode: 0
ringBufferMode: 0
@@ -77911,7 +77911,7 @@ ParticleSystem:
m_GameObject: {fileID: 6948268340964940849}
serializedVersion: 8
lengthInSec: 2.33
simulationSpeed: 1
simulationSpeed: 2
stopAction: 0
cullingMode: 0
ringBufferMode: 0
@@ -82805,7 +82805,7 @@ ParticleSystem:
m_GameObject: {fileID: 8080659413948619737}
serializedVersion: 8
lengthInSec: 2.33
simulationSpeed: 1
simulationSpeed: 2
stopAction: 0
cullingMode: 0
ringBufferMode: 0
@@ -87698,7 +87698,7 @@ ParticleSystem:
m_GameObject: {fileID: 8888732998432236564}
serializedVersion: 8
lengthInSec: 2.33
simulationSpeed: 1
simulationSpeed: 2
stopAction: 0
cullingMode: 0
ringBufferMode: 0
@@ -14752,7 +14752,7 @@ ParticleSystem:
ringBufferMode: 0
ringBufferLoopRange: {x: 0, y: 1}
emitterVelocityMode: 0
looping: 0
looping: 1
prewarm: 0
playOnAwake: 1
useUnscaledTime: 0
@@ -14760,7 +14760,7 @@ ParticleSystem:
startDelay:
serializedVersion: 2
minMaxState: 0
scalar: 3.2333333
scalar: 0
minScalar: 0
maxCurve:
serializedVersion: 2
@@ -15308,7 +15308,7 @@ ParticleSystem:
m_RotationOrder: 4
randomizeRotationDirection: 0
gravitySource: 0
maxNumParticles: 10
maxNumParticles: 100
customEmitterVelocity: {x: 0, y: 0, z: 0}
size3D: 0
rotation3D: 0
@@ -15376,7 +15376,7 @@ ParticleSystem:
donutRadius: 0.2
m_Position: {x: 0, y: 0, z: 0}
m_Rotation: {x: 0, y: 0, z: 0}
m_Scale: {x: 0.5, y: 0.5, z: 0.5}
m_Scale: {x: 1, y: 1, z: 1}
placementMode: 0
m_MeshMaterialIndex: 0
m_MeshNormalOffset: 0
@@ -16012,8 +16012,8 @@ ParticleSystem:
maxColor: {r: 1, g: 1, b: 1, a: 1}
maxGradient:
serializedVersion: 2
key0: {r: 1, g: 1, b: 1, a: 0}
key1: {r: 1, g: 1, b: 1, a: 1}
key0: {r: 1, g: 1, b: 1, a: 1}
key1: {r: 1, g: 1, b: 1, a: 0.47058824}
key2: {r: 0, g: 0, b: 0, a: 0}
key3: {r: 0, g: 0, b: 0, a: 0}
key4: {r: 0, g: 0, b: 0, a: 0}
@@ -16031,7 +16031,7 @@ ParticleSystem:
atime0: 0
atime1: 33153
atime2: 65535
atime3: 0
atime3: 65535
atime4: 0
atime5: 0
atime6: 0
@@ -24543,9 +24543,9 @@ ParticleSystem:
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
moveWithTransform: 0
moveWithTransform: 1
moveWithCustomTransform: {fileID: 0}
scalingMode: 1
scalingMode: 0
randomSeed: 0
InitialModule:
serializedVersion: 3
@@ -25307,7 +25307,7 @@ ParticleSystem:
rateOverTime:
serializedVersion: 2
minMaxState: 0
scalar: 10
scalar: 5
minScalar: 10
maxCurve:
serializedVersion: 2
@@ -30881,7 +30881,7 @@ ParticleSystem:
z:
serializedVersion: 2
minMaxState: 0
scalar: 1.76
scalar: 1
minScalar: 0
maxCurve:
serializedVersion: 2
@@ -39236,7 +39236,7 @@ ParticleSystem:
serializedVersion: 2
minMaxState: 0
minColor: {r: 1, g: 1, b: 1, a: 1}
maxColor: {r: 1, g: 1, b: 1, a: 1}
maxColor: {r: 1, g: 1, b: 1, a: 0.3137255}
maxGradient:
serializedVersion: 2
key0: {r: 1, g: 1, b: 1, a: 1}
@@ -40672,7 +40672,7 @@ ParticleSystem:
z:
serializedVersion: 2
minMaxState: 0
scalar: 1.16
scalar: 0
minScalar: 0
maxCurve:
serializedVersion: 2
@@ -41043,7 +41043,7 @@ ParticleSystem:
radial:
serializedVersion: 2
minMaxState: 0
scalar: -0.21
scalar: 0
minScalar: 0
maxCurve:
serializedVersion: 2
@@ -41146,7 +41146,7 @@ ParticleSystem:
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
inWorldSpace: 0
inWorldSpace: 1
InheritVelocityModule:
enabled: 0
m_Mode: 0
@@ -45564,7 +45564,7 @@ ParticleSystem:
z:
serializedVersion: 2
minMaxState: 0
scalar: 1.16
scalar: 0
minScalar: 0
maxCurve:
serializedVersion: 2
@@ -45935,7 +45935,7 @@ ParticleSystem:
radial:
serializedVersion: 2
minMaxState: 0
scalar: -0.21
scalar: 0
minScalar: 0
maxCurve:
serializedVersion: 2
@@ -50198,7 +50198,7 @@ ParticleSystem:
ctime6: 0
ctime7: 0
atime0: 0
atime1: 24576
atime1: 16962
atime2: 0
atime3: 0
atime4: 0
@@ -59856,13 +59856,13 @@ ParticleSystem:
maxGradient:
serializedVersion: 2
key0: {r: 1, g: 1, b: 1, a: 1}
key1: {r: 1, g: 1, b: 1, a: 0}
key1: {r: 1, g: 1, b: 1, a: 0.19607843}
key2: {r: 0, g: 0, b: 0, a: 1}
key3: {r: 0, g: 0, b: 0, a: 0}
key3: {r: 0, g: 0, b: 0, a: 0.19607843}
key4: {r: 0, g: 0, b: 0, a: 1}
key5: {r: 0, g: 0, b: 0, a: 0}
key5: {r: 0, g: 0, b: 0, a: 0.19607843}
key6: {r: 0, g: 0, b: 0, a: 1}
key7: {r: 0, g: 0, b: 0, a: 0}
key7: {r: 0, g: 0, b: 0, a: 0.19607843}
ctime0: 0
ctime1: 65535
ctime2: 0
@@ -9956,7 +9956,7 @@ ParticleSystem:
startSize:
serializedVersion: 2
minMaxState: 0
scalar: 3
scalar: 1
minScalar: 1
maxCurve:
serializedVersion: 2
@@ -41,7 +41,7 @@ ParticleSystem:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 229117972425434128}
serializedVersion: 8
lengthInSec: 0.19
lengthInSec: 0.25
simulationSpeed: 1
stopAction: 0
cullingMode: 0
@@ -116,7 +116,7 @@ ParticleSystem:
startLifetime:
serializedVersion: 2
minMaxState: 0
scalar: 0.19
scalar: 0.25
minScalar: 5
maxCurve:
serializedVersion: 2
@@ -169,7 +169,7 @@ ParticleSystem:
startSpeed:
serializedVersion: 2
minMaxState: 0
scalar: 10
scalar: 2.5
minScalar: 5
maxCurve:
serializedVersion: 2
@@ -340,7 +340,7 @@ ParticleSystem:
startSizeY:
serializedVersion: 2
minMaxState: 0
scalar: 4
scalar: 1.5
minScalar: 1
maxCurve:
serializedVersion: 2
@@ -604,7 +604,7 @@ ParticleSystem:
m_RotationOrder: 4
randomizeRotationDirection: 0
gravitySource: 0
maxNumParticles: 20
maxNumParticles: 30
customEmitterVelocity: {x: 0, y: 0, z: 0}
size3D: 1
rotation3D: 0
@@ -751,7 +751,7 @@ ParticleSystem:
sphericalDirectionAmount: 0
randomPositionAmount: 0
radius:
value: 0.3
value: 0.0001
mode: 0
spread: 0
speed:
@@ -9724,7 +9724,7 @@ ParticleSystem:
startDelay:
serializedVersion: 2
minMaxState: 0
scalar: 0
scalar: 0.14
minScalar: 0
maxCurve:
serializedVersion: 2
@@ -9837,7 +9837,7 @@ ParticleSystem:
startSpeed:
serializedVersion: 2
minMaxState: 0
scalar: 10
scalar: 3
minScalar: 5
maxCurve:
serializedVersion: 2
@@ -10008,7 +10008,7 @@ ParticleSystem:
startSizeY:
serializedVersion: 2
minMaxState: 0
scalar: 2
scalar: 1.5
minScalar: 1
maxCurve:
serializedVersion: 2
@@ -28,8 +28,8 @@ Transform:
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_LocalScale: {x: 0.5, y: 0.5, z: 0.5}
m_ConstrainProportionsScale: 1
m_Children: []
m_Father: {fileID: 4157341981584991390}
m_LocalEulerAnglesHint: {x: -90, y: 0, z: 0}
@@ -4919,8 +4919,8 @@ Transform:
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_LocalScale: {x: 0.5, y: 0.5, z: 0.5}
m_ConstrainProportionsScale: 1
m_Children: []
m_Father: {fileID: 4157341981584991390}
m_LocalEulerAnglesHint: {x: -90, y: 0, z: 0}
@@ -9752,8 +9752,8 @@ Transform:
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_LocalScale: {x: 0.5, y: 0.5, z: 0.5}
m_ConstrainProportionsScale: 1
m_Children: []
m_Father: {fileID: 4157341981584991390}
m_LocalEulerAnglesHint: {x: -90, y: 0, z: 0}
@@ -14585,8 +14585,8 @@ Transform:
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_LocalScale: {x: 0.5, y: 0.5, z: 0.5}
m_ConstrainProportionsScale: 1
m_Children: []
m_Father: {fileID: 4157341981584991390}
m_LocalEulerAnglesHint: {x: -90, y: 0, z: 0}
@@ -19476,8 +19476,8 @@ Transform:
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_LocalScale: {x: 0.5, y: 0.5, z: 0.5}
m_ConstrainProportionsScale: 1
m_Children: []
m_Father: {fileID: 4157341981584991390}
m_LocalEulerAnglesHint: {x: -90, y: 0, z: 0}
@@ -29206,8 +29206,8 @@ Transform:
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_LocalScale: {x: 0.5, y: 0.5, z: 0.5}
m_ConstrainProportionsScale: 1
m_Children: []
m_Father: {fileID: 4157341981584991390}
m_LocalEulerAnglesHint: {x: -90, y: 0, z: 0}
@@ -4919,8 +4919,8 @@ Transform:
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_LocalScale: {x: 0.5, y: 0.5, z: 0.5}
m_ConstrainProportionsScale: 1
m_Children: []
m_Father: {fileID: 6717296312834069839}
m_LocalEulerAnglesHint: {x: -90, y: 0, z: 0}
@@ -9810,8 +9810,8 @@ Transform:
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_LocalScale: {x: 0.5, y: 0.5, z: 0.5}
m_ConstrainProportionsScale: 1
m_Children: []
m_Father: {fileID: 6717296312834069839}
m_LocalEulerAnglesHint: {x: -90, y: 0, z: 0}
@@ -14643,8 +14643,8 @@ Transform:
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_LocalScale: {x: 0.5, y: 0.5, z: 0.5}
m_ConstrainProportionsScale: 1
m_Children: []
m_Father: {fileID: 6717296312834069839}
m_LocalEulerAnglesHint: {x: -90, y: 0, z: 0}
@@ -24425,8 +24425,8 @@ Transform:
serializedVersion: 2
m_LocalRotation: {x: 0.7071068, y: 0, z: 0, w: 0.7071068}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_LocalScale: {x: 0.5, y: 0.5, z: 0.5}
m_ConstrainProportionsScale: 1
m_Children: []
m_Father: {fileID: 6717296312834069839}
m_LocalEulerAnglesHint: {x: 90, y: 0, z: 0}
@@ -34098,8 +34098,8 @@ Transform:
serializedVersion: 2
m_LocalRotation: {x: 0.7071068, y: 0, z: 0, w: 0.7071068}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_LocalScale: {x: 0.5, y: 0.5, z: 0.5}
m_ConstrainProportionsScale: 1
m_Children: []
m_Father: {fileID: 6717296312834069839}
m_LocalEulerAnglesHint: {x: 90, y: 0, z: 0}
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cdf063328a3579dfa3a93d9dd16cec279b4fe914763a71443523e207d13cbd6d
size 124399
oid sha256:56de257a0dc137130cb44b00462bc5a346cf8f292d1178fb31e138075b1fdb8c
size 137951
@@ -0,0 +1,50 @@
using UnityEngine;
using UnityEngine.UI;
using TMPro;
namespace BrewMonster
{
public class GameSpeedModifier : MonoBehaviour
{
[SerializeField] private Button _speedUpButton;
[SerializeField] private Button _speedDownButton;
[SerializeField] private TextMeshProUGUI _gameSpeedText;
private readonly float[] _speedStages = { 0.25f, 0.5f, 0.75f, 1f, 2f };
private int _currentSpeedIndex = 3; // Default = 1x
private void Awake()
{
_speedUpButton.onClick.AddListener(OnSpeedUpButtonClicked);
_speedDownButton.onClick.AddListener(OnSpeedDownButtonClicked);
_currentSpeedIndex = 3; // Default = 1x
Time.timeScale = 1.0f;
ApplySpeed();
}
private void OnSpeedUpButtonClicked()
{
if (_currentSpeedIndex >= _speedStages.Length - 1)
return;
_currentSpeedIndex++;
ApplySpeed();
}
private void OnSpeedDownButtonClicked()
{
if (_currentSpeedIndex <= 0)
return;
_currentSpeedIndex--;
ApplySpeed();
}
private void ApplySpeed()
{
float speed = _speedStages[_currentSpeedIndex];
Time.timeScale = speed;
_gameSpeedText.text = speed.ToString("0.##X");
}
}
}
@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 79733da183fc7ce40aabe2e7baa4a373