Skip to content

Commit a3f8272

Browse files
committed
Added older style C# new
1 parent 6f4c894 commit a3f8272

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

Packages/com.unity.inputsystem/InputSystem/Editor/Internal/InputSystemProfilerModule.cs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -123,15 +123,15 @@ void OnSelectedFrameIndexChanged(long selectedFrameIndex)
123123

124124
private static readonly ProfilerCounterDescriptor[] Counters = new ProfilerCounterDescriptor[]
125125
{
126-
new(InputStatistics.UpdateCountName, InputStatistics.Category),
127-
new(InputStatistics.EventCountName, InputStatistics.Category),
128-
new(InputStatistics.EventSizeName, InputStatistics.Category),
129-
new(InputStatistics.StateBufferSizeBytesName, InputStatistics.Category),
130-
new(InputStatistics.AverageLatencyName, InputStatistics.Category),
131-
new(InputStatistics.MaxLatencyName, InputStatistics.Category),
132-
new(InputStatistics.EventProcessingTimeName, InputStatistics.Category),
133-
new(InputStatistics.DeviceCountName, InputStatistics.Category),
134-
new(InputStatistics.ControlCountName, InputStatistics.Category),
126+
new ProfilerCounterDescriptor(InputStatistics.UpdateCountName, InputStatistics.Category),
127+
new ProfilerCounterDescriptor(InputStatistics.EventCountName, InputStatistics.Category),
128+
new ProfilerCounterDescriptor(InputStatistics.EventSizeName, InputStatistics.Category),
129+
new ProfilerCounterDescriptor(InputStatistics.StateBufferSizeBytesName, InputStatistics.Category),
130+
new ProfilerCounterDescriptor(InputStatistics.AverageLatencyName, InputStatistics.Category),
131+
new ProfilerCounterDescriptor(InputStatistics.MaxLatencyName, InputStatistics.Category),
132+
new ProfilerCounterDescriptor(InputStatistics.EventProcessingTimeName, InputStatistics.Category),
133+
new ProfilerCounterDescriptor(InputStatistics.DeviceCountName, InputStatistics.Category),
134+
new ProfilerCounterDescriptor(InputStatistics.ControlCountName, InputStatistics.Category),
135135
};
136136

137137
public InputSystemProfilerModule()

0 commit comments

Comments
 (0)