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

use of maps #15

Open
undereyes opened this issue Mar 29, 2015 · 3 comments
Open

use of maps #15

undereyes opened this issue Mar 29, 2015 · 3 comments

Comments

@undereyes
Copy link

hi! do you know who I can change a sprite at runtime? like weapons, hats, cloths...

@Dharengo
Copy link

You have write a script that changes the texture of the SpriteRenderer on the child GameObject that holds the weapon/hat/etc.

@undereyes
Copy link
Author

I do this, but the "shape" of the sprite don't change and new sizes don't apply. What I made bad?

El 29/3/2015, a las 12:37, Dharengo [email protected] escribió:

You have write a script that changes the texture of the SpriteRenderer on the component that holds the weapon/hat/etc.


Reply to this email directly or view it on GitHub.

@mythgarr
Copy link
Owner

mythgarr commented Apr 3, 2015

The initial version of Spriter2Unity supported a separate 'Map' object that would be brought over directly from the Spriter animation. A pull request removed that functionality in favor of directly setting the sprite (https://github.com/mythgarr/Spriter2Unity/pull/8/files).

Unfortunately I'm still not in a position to contribute anything more than advice - wish I could help more!

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

3 participants