Rasagar/Library/PackageCache/com.unity.test-framework.performance/Runtime/Measurements/FrametimeMeasurement.cs
2024-08-26 23:07:20 +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);
}
}
}