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

Canvas name hardcoded in AndroidProject #5

Open
DariosKrimsKrams opened this issue Apr 15, 2019 · 1 comment
Open

Canvas name hardcoded in AndroidProject #5

DariosKrimsKrams opened this issue Apr 15, 2019 · 1 comment

Comments

@DariosKrimsKrams
Copy link
Contributor

DariosKrimsKrams commented Apr 15, 2019

The Canvas name is hardcoded in the AndroidProject: To use the Activity behind the plugin with your own project (your own scenes/canvas), you need to rename your Canvas to the same name used in demo project. Better solution would be to changed it in AndroidProject but then you have to re-build the AndroidUnityPlugin.jar file.

  • At least a info in the documentation is needed.
  • A better solution for this problem would be nice.
  • I don't actually know if there is a problem when using this with multiple canvas,, but I could expect this doesn't work at the moment :/

Edit: Realized there is already a issue for that: #1

@DariosKrimsKrams DariosKrimsKrams changed the title Scene name hardcoded in AndroidProject Canvas name hardcoded in AndroidProject Apr 16, 2019
@peterhorsley
Copy link
Owner

Agree, a better solution would be nice, but adds some complexity i think. For now I just updated the readme to document this requirement, I guess you could consider it configuration by convention for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants