Skip to content

Remove hardcoded enforcement for RootPath property#2976

Open
contatodoaleoliveira wants to merge 1 commit intoplaygameservices:masterfrom
contatodoaleoliveira:smart-root-directory
Open

Remove hardcoded enforcement for RootPath property#2976
contatodoaleoliveira wants to merge 1 commit intoplaygameservices:masterfrom
contatodoaleoliveira:smart-root-directory

Conversation

@contatodoaleoliveira
Copy link
Copy Markdown

Resolves #2510

The RootPath property on the GPGSUtil class was hardcoded as a direct child folder inside "Assets". This prevented the plugin to be organized inside subfolder or to be wrapped inside a custom Unity Package (all of those attempts would result in in "Plugin error: GooglePlayGames folder was renamed").

This pull requests fix that and adds a more reliable way of handling the project structure.
The solution is inspired by #2120 from @mirkoquaro.

@google-cla google-cla bot added the cla: yes label Nov 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Issue wrapping the SDK in a custom package (using UPM)

1 participant