Comments (9)
Update:
Just released 0.41.0 which now deploys Entitas as Dlls instead of source code. The code generator doesn't rely on partial classes anymore.
It's now possible to easily create nuget packages with the c# only version.
from entitas.
Thanks! Makes sense, I'll see what I can do ;)
from entitas.
In order for this to work, I believe your going to have to remove the reliance on partial classes during generation. Since a partial cannot exist outside of the assembly it wouldn't work in its current form.
from entitas.
That's true, the package would have to contain the source files.
from entitas.
Would be very interested in that too!
I haven't used Entitas yet (and I won't with Unity), but couldn't an inherited class be generated ?
public class Entity : Entitas.Entity {
#region Components
#region Position
public PositionComponent position { get { /* ... */ } }
public bool hasPosition { get { /* ... */ } }
public Entity AddPosition(float newX, float newY) { /* ... */ }
public Entity ReplacePosition(float newX, float newY) { /* ... */ }
public Entity RemovePosition() { /* ... */ }
#endregion
#region Rotation
public RotationComponent rotation { get { /* ... */ } }
public bool hasRotation { get { /* ... */ } }
public Entity AddRotation(float angle) { /* ... */ }
public Entity ReplaceRotation(float angle) { /* ... */ }
public Entity RemoveRotation() { /* ... */ }
#endregion
#endregion
}
from entitas.
Was a nuget package ever created? Cant seem to find an official nuget package.
from entitas.
No, there's no nuget package for Entitas
from entitas.
@sschmid Will there be a nuget package at some point, or it is no longer planned?
from entitas.
Just saw this issue is still open. Sorry for not updating.
Entitas is available on nuget (since 11/20/2019):
https://www.nuget.org/packages?q=Entitas
Will close as solved
from entitas.
Related Issues (20)
- broken doc link HOT 2
- Wiki closed for editing
- Unity crashes when clicking on a GameObject with Component of Entitas HOT 8
- Remove DesperateDevs dependencies
- [SOLVED] Unity 2022.3.4f1: Exceptions + broken inspector when looking at any entity HOT 16
- Add/Replace/Remove vs Set/Unset HOT 5
- Boolean in setttings for unique components to actually be unique
- A component with multiple contexts +events, only make event listeners for 1 context
- Could not resolve type with token ... expected class System.Threading.CancellationToken HOT 10
- How to generate codes in a project which has several csproj files? HOT 1
- Update on Entitas 2.0-beta and my situation HOT 3
- [1.14.1]code gen twice and compile error HOT 1
- there is a Error, on click Tools/Jenny/Gennerate, how can I do? HOT 4
- _group.GetEntities().AsParallel().ForAll(Execute);这段语句有GC HOT 2
- Is it feasible to use Entitas in the backend? HOT 7
- Entity Behaviour in Unity inspector not visible HOT 2
- Removal of crucial SearchPaths when executing the wiz command
- How to get all group in some context, without reflection。
- GUI Null ref when trying to view entity in inspector HOT 1
- generator issues HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from entitas.