slow mo in combos

This commit is contained in:
2025-08-28 16:10:59 +02:00
parent dab985e017
commit 71c45b05cb
4 changed files with 148 additions and 140 deletions

View File

@@ -10,7 +10,7 @@ namespace Beyond
public UnityEvent<float> m_OnTimeScaleChanged;
private float m_startingFixedDelta;
private float m_startingFixedDelta = 0.02f;
private float m_currentTimeScale = 1f;
public void SetTimeScale(float s)
@@ -32,7 +32,7 @@ namespace Beyond
StopAllCoroutines();
SetTimeScale(1f);
}
[Sirenix.OdinInspector.Button]
public void SetTimeScaleForRealTimeSec(float s, float seconds, bool forceStop = false)
{
if (forceStop)
@@ -58,19 +58,8 @@ namespace Beyond
protected override void Awake()
{
base.Awake();
m_startingFixedDelta = Time.fixedDeltaTime;
//m_startingFixedDelta = Time.fixedDeltaTime;
}
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void Update()
{
}
}
}