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

Doesn't change Tag and Layer of children Game Object in Unity. #277

Closed
storyteller24 opened this issue Jul 24, 2024 · 2 comments
Closed

Comments

@storyteller24
Copy link

I have worked in Unity with SuperTiled 2.2.1
My project is a platformer Game.

I used properties unity:Tag and unity:Layer but looks like it doesn't change the children of the game object, which include collisions.
That affects my progress when my script use compare.Tag with Trigger of the colliders a lot.

I suggest you make all the component in Tiled's layer to the same value we set in the properties. It's better for all platformer game.

Hope you read this!
Screenshot 2024-07-24 074821
Screenshot 2024-07-24 074847
Screenshot 2024-07-24 074902

@Seanba
Copy link
Owner

Seanba commented Dec 8, 2024

Hi there, @storyteller24. My apologies for commenting on this so late. The Layer setting was meant to be passed on to the children but it doesn't like that is working for Infinte maps (the Chunk children are all set to Default layer). I'll try to look into a fix for that soon.

Seanba added a commit that referenced this issue Dec 9, 2024
…ws exceptions (#276)

Custom properties on Prefab Replacements supports enum values that are saved as integers. (#260)
Infinite maps no longer break inheritance of Unity layer assignment (#202, #277)
@Seanba
Copy link
Owner

Seanba commented Dec 9, 2024

Thanks for the report. This is fixed with version 2.2.4 of ST2U.

@Seanba Seanba closed this as completed Dec 9, 2024
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