Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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" }
3 changes: 2 additions & 1 deletion EcsactBenchmark/EcsactBenchmarkWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions Editor/EcsactSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ class EcsactMethodUIBindings : ScriptableObject {
}

class EcsactSettingsSettingsProvider : SettingsProvider {
private static bool showMissingMethods;
private static bool showMissingMethods;
private static List<string> cachedRecipeList = new();

Editor? runtimeSettingsEditor = null;
Expand Down Expand Up @@ -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));
Expand Down
6 changes: 2 additions & 4 deletions Runtime/EcsactDefaults.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down