UnityGame/Library/PackageCache/com.unity.test-framework.performance/Runtime/Measurements/FrametimeMeasurement.cs
2024-10-27 10:53:47 +03:00

15 lines
298 B
C#

using UnityEngine;
namespace Unity.PerformanceTesting.Measurements
{
internal class FrameTimeMeasurement : MonoBehaviour
{
public SampleGroup SampleGroup;
void Update()
{
Measure.Custom(SampleGroup, Time.unscaledDeltaTime * 1000);
}
}
}