unity慢动作
using UnityEngine;
public class Example : MonoBehaviour
{
// Toggles the time scale between 1 and 0.7
// whenever the user hits the Fire1 button.
private float fixedDeltaTime;
void Awake()
{
// Make a copy of the fixedDeltaTime, it defaults to 0.02f, but it can be changed in the editor
this.fixedDeltaTime = Time.fixedDeltaTime;
}
void Update()
{
unity慢动作最先出现在Python成神之路。
共有 0 条评论