diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6554b4d..a5221ed 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -17,4 +17,4 @@ jobs: - uses: actions/checkout@v4 - uses: greut/eclint-action@v0 - uses: jidicula/clang-format-action@v4.11.0 - with: { clang-format-version: "18" } + with: { clang-format-version: "19" } diff --git a/EcsactBenchmark/EcsactBenchmarkWindow.cs b/EcsactBenchmark/EcsactBenchmarkWindow.cs index 4208186..b792c36 100644 --- a/EcsactBenchmark/EcsactBenchmarkWindow.cs +++ b/EcsactBenchmark/EcsactBenchmarkWindow.cs @@ -151,7 +151,8 @@ void DrawEventSummaryMessage(EventSummaryReportMessage summary) { void OnGUI() { var runtimeSettings = EcsactRuntimeSettings.Get(); - if(runtimeSettings.systemImplSource != Ecsact.SystemImplSource.WebAssembly) { + if(runtimeSettings.systemImplSource != + Ecsact.SystemImplSource.WebAssembly) { EditorGUILayout.HelpBox( "Ecsact benchmark only supports WebAssembly system implementations.", MessageType.Info diff --git a/Editor/EcsactSettings.cs b/Editor/EcsactSettings.cs index 5c2a563..5ebcb84 100644 --- a/Editor/EcsactSettings.cs +++ b/Editor/EcsactSettings.cs @@ -85,7 +85,7 @@ class EcsactMethodUIBindings : ScriptableObject { } class EcsactSettingsSettingsProvider : SettingsProvider { - private static bool showMissingMethods; + private static bool showMissingMethods; private static List cachedRecipeList = new(); Editor? runtimeSettingsEditor = null; @@ -367,7 +367,7 @@ private VisualElement MakeRecipeElement() { private void BindRecipeElement(VisualElement element, int index) { var toggle = element as Toggle; - var recipe = cachedRecipeList[index]; + var recipe = cachedRecipeList[index]; if(recipe != null) { toggle.text = recipe; toggle.SetValueWithoutNotify(IsUsingRecipe(recipe)); diff --git a/Runtime/EcsactDefaults.cs b/Runtime/EcsactDefaults.cs index 55754ad..e716ca2 100644 --- a/Runtime/EcsactDefaults.cs +++ b/Runtime/EcsactDefaults.cs @@ -11,13 +11,11 @@ static public class Defaults { internal static EcsactRuntime? _Runtime; public static EcsactRuntime Runtime => _Runtime ?? throw new Exception("Runtime is null, if you want to access it as early " + - "as possible " + - "use Ecsact.Defaults.WhenReady"); + "as possible " + "use Ecsact.Defaults.WhenReady"); internal static Ecsact.Registry? _Registry; public static Ecsact.Registry Registry => _Registry ?? throw new Exception("Registry is null, if you want to access it as early " + - "as possible " + - "use Ecsact.Defaults.WhenReady"); + "as possible " + "use Ecsact.Defaults.WhenReady"); public static Ecsact.UnitySync.EntityGameObjectPool? Pool; public static EcsactRunner? Runner;