fix
This commit is contained in:
parent
784b1d3c17
commit
54a1dc4f18
@ -8,7 +8,7 @@ namespace DefaultNamespace
|
|||||||
{
|
{
|
||||||
public class TimerHelper : MonoBehaviour
|
public class TimerHelper : MonoBehaviour
|
||||||
{
|
{
|
||||||
[SerializeField] private float scale;
|
|
||||||
private static TimerHelper _instance;
|
private static TimerHelper _instance;
|
||||||
|
|
||||||
public static TimerHelper Instance
|
public static TimerHelper Instance
|
||||||
@ -25,7 +25,7 @@ namespace DefaultNamespace
|
|||||||
}
|
}
|
||||||
|
|
||||||
[EditorButton]
|
[EditorButton]
|
||||||
public void SetTimerScale()
|
public void SetTimerScale(float scale)
|
||||||
{
|
{
|
||||||
Time.timeScale = scale;
|
Time.timeScale = scale;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user