添加插件
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Obi.Samples
|
||||
{
|
||||
public class SlowmoToggler : MonoBehaviour
|
||||
{
|
||||
|
||||
public void Slowmo(bool slowmo)
|
||||
{
|
||||
Time.timeScale = slowmo ? 0.25f : 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user