16 lines
391 B
C#
16 lines
391 B
C#
#if !QC_DISABLED && !QC_DISABLE_BUILTIN_ALL && !QC_DISABLE_BUILTIN_EXTRA
|
|
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;
|
|
}
|
|
}
|
|
}
|
|
#endif |