修改倍速快捷键
This commit is contained in:
parent
46e28cbf9c
commit
bc24fdb3d8
@ -9,7 +9,6 @@ public class TimeScaleController : MonoBehaviour
|
|||||||
public float animSpeed = 1.0f;
|
public float animSpeed = 1.0f;
|
||||||
|
|
||||||
|
|
||||||
#if UNITY_EDITOR
|
|
||||||
private void Update()
|
private void Update()
|
||||||
{
|
{
|
||||||
Time.timeScale = animSpeed;
|
Time.timeScale = animSpeed;
|
||||||
@ -30,5 +29,5 @@ public class TimeScaleController : MonoBehaviour
|
|||||||
animSpeed = 0;
|
animSpeed = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user