summaryrefslogtreecommitdiff
path: root/ActiveRagdoll/Assets/TABG/Scripts/Debug/DebugFps.cs
diff options
context:
space:
mode:
authorchai <215380520@qq.com>2024-04-18 00:55:34 +0800
committerchai <215380520@qq.com>2024-04-18 00:55:34 +0800
commitcc0c9d088b661c27fd70818f39465fdbab7294cd (patch)
treee68258efda5b35bbc203264e5c99918fd314fbbc /ActiveRagdoll/Assets/TABG/Scripts/Debug/DebugFps.cs
parent9195d35e9aaab77b315d5c689fd86bce599ab42c (diff)
*unity 2022
Diffstat (limited to 'ActiveRagdoll/Assets/TABG/Scripts/Debug/DebugFps.cs')
-rw-r--r--ActiveRagdoll/Assets/TABG/Scripts/Debug/DebugFps.cs21
1 files changed, 21 insertions, 0 deletions
diff --git a/ActiveRagdoll/Assets/TABG/Scripts/Debug/DebugFps.cs b/ActiveRagdoll/Assets/TABG/Scripts/Debug/DebugFps.cs
new file mode 100644
index 0000000..75f68fa
--- /dev/null
+++ b/ActiveRagdoll/Assets/TABG/Scripts/Debug/DebugFps.cs
@@ -0,0 +1,21 @@
+using System.Collections;
+using System.Collections.Generic;
+using UnityEngine;
+
+public class DebugFps : MonoBehaviour
+{
+ // Start is called before the first frame update
+ void Start()
+ {
+
+ }
+
+ // Update is called once per frame
+ void Update()
+ {
+ if (Time.deltaTime > 0.1f)
+ {
+ Debug.Log("lag");
+ }
+ }
+}