using System.Collections; using System.Collections.Generic; using UnityEngine; using Cysharp.Threading.Tasks; namespace BITKit { public class UnityCommands { [BITCommand] public static async void TimeScale(float scale) { await UniTask.SwitchToMainThread(); Time.timeScale = scale; } } }