Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Command buffer lacks non generic accesors. #178

Open
emelrad12 opened this issue Nov 24, 2023 · 0 comments
Open

Command buffer lacks non generic accesors. #178

emelrad12 opened this issue Nov 24, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@emelrad12
Copy link
Contributor

For example

var component = sourceEntity.Get(type.Type);

this works fine

targetEntity.Add(component)

this does not

commandBuffer.Add(targetEntity, component)

As it is generic it assumes the object is well object and doesn't figure out the type.

@genaray genaray added the enhancement New feature or request label Nov 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: No status
Development

No branches or pull requests

2 participants