namespacify everything

This commit is contained in:
2024-04-06 14:42:10 +03:00
parent 68b735b59c
commit 6430cc9b4d
42 changed files with 10066 additions and 10107 deletions

View File

@@ -1,26 +1,25 @@
using System;
using FlaxEngine;
namespace Game
namespace Game;
public static class Utilities
{
public static class Utilities
public static ScopeProfiler ProfileScope(string eventName)
{
public static ScopeProfiler ProfileScope(string eventName)
return new ScopeProfiler(eventName);
}
public class ScopeProfiler : IDisposable
{
public ScopeProfiler(string eventName)
{
return new ScopeProfiler(eventName);
Profiler.BeginEvent(eventName);
}
public class ScopeProfiler : IDisposable
public void Dispose()
{
public ScopeProfiler(string eventName)
{
Profiler.BeginEvent(eventName);
}
public void Dispose()
{
Profiler.EndEvent();
}
Profiler.EndEvent();
}
}
}