15 lines
298 B
C#
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);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|