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

Csharp source generator #1144

Closed
wants to merge 3 commits into from
Closed

Csharp source generator #1144

wants to merge 3 commits into from

Conversation

James-Frowen
Copy link
Member

No description provided.

Previously Syncvar would only be set from within the same DLL because the list of getter and setters are only checked within the dll

With this change we store the name of get/set in the attribute, so we can check that attribute from any dll we process.

Also an internal change, instead of properties. weaver now generate methods. It will generate GetNetwork__ only for wrapper syncvars and SetNetwork__ for all syncvars
source generator works with unity 2021+.
they are required to add code to dll before weaver runs.
If another dll needs a function from the first one, then source generates needs to generate it, because Unity's ILPP does not run in order.

BREAKING CHANGE: replacing parts of weaver with source generator
@github-actions github-actions bot added the has conflicts Pull Request has merge conflicts label Jun 9, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Aug 9, 2023

This PR is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.

@github-actions github-actions bot added the Stale label Aug 9, 2023
@github-actions github-actions bot closed this Aug 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
has conflicts Pull Request has merge conflicts Stale
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant