sebas77 / svelto-ecs-inspector-unity

Svelto.ECS Agnostic Inspector that runs in a browser

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Compatible only with Unity 2021.3 and above

SveltoInspector.Attach(_enginesRoot);

Run the game.

For the client:

you can either use the URL: https://akrogame.github.io/svelto-ecs-inspector/ or best running the node js application found at https://github.com/sebas77/svelto-ecs-inspector/tree/main/inspector but to run locally you need to apply this change

--- a/inspector/src/App.tsx
+++ b/inspector/src/App.tsx
@@ -26,7 +26,7 @@ function App() {
     <QueryClientProvider client={queryClient}>
       <ThemeProvider theme={theme}>
         <Container className="App" maxWidth={false}>
-          <BrowserRouter basename="/svelto-ecs-inspector">
+          <BrowserRouter basename="/">
             <Routes>
               <Route path="" element={<Main />}>
                 <Route path="/" element={<Dashboard />} />

FAQ:

Q. why are engines shown multiple times? like

image

A. each copy is a separate query found in the engine

Q. why is the analyzer targinet .net standard 2.0?

A. to prevent this unity error: AkroGame.ECS.Analyzer references netstandard, Version=2.1.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51. A roslyn analyzer should reference netstandard version 2.0

Q. why is there a UnityDLL~ folder in the package?

A. folders ending with ~ are ignored by Unity. You must copy the AkroGame.ECS.Analyzer.dll and install the package https://github.com/merryyellow/code-analysis-3-11

About

Svelto.ECS Agnostic Inspector that runs in a browser


Languages

Language:C# 100.0%