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

Prefab replacements with no game object #134

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Alkanov
Copy link

@Alkanov Alkanov commented May 5, 2020

Prefab Replacement setting allows you to set a Tiled Object Type name while leaving the GameObject part empty, then SuperTiled2Unity ignores it.

What I have done here allows you to set a Tiled Object Type and by not selecting a GameObject to replace it with, you can ignore the whole Tiled Object Type. This is particularly useful when you want to have 2 different behaviors on two different Unity Projects but with the same Tiled Project.

I know this could be achieved with CustomImporters but I also feel like this is the "right" behavior when you are allowed to set a Tiled Object Type and leave the GameObject section null

Related to #132

@Alkanov Alkanov mentioned this pull request May 5, 2020
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

Successfully merging this pull request may close these issues.

1 participant