rabidus-test/Assets/Plugins/QFSW/Quantum Console/Source/Extras/TimeCommands.cs

14 lines
311 B
C#
Raw Permalink Normal View History

2023-08-22 15:41:12 +03:00
using UnityEngine;
namespace QFSW.QC.Extras
{
public static class TimeCommands
{
[Command("time-scale", "the scale at which time is passing by.")]
private static float TimeScale
{
get => Time.timeScale;
set => Time.timeScale = value;
}
}
}