更新obi到7.1

This commit is contained in:
Bob.Song
2025-11-03 11:53:45 +08:00
parent d12e1bc495
commit 7cf7f545bc
1161 changed files with 158924 additions and 37802 deletions

View File

@@ -2,9 +2,14 @@
using System.Collections.Generic;
using UnityEngine;
public class SlowmoToggler : MonoBehaviour {
namespace Obi.Samples
{
public class SlowmoToggler : MonoBehaviour
{
public void Slowmo (bool slowmo) {
Time.timeScale = slowmo?0.25f:1;
}
public void Slowmo(bool slowmo)
{
Time.timeScale = slowmo ? 0.25f : 1;
}
}
}