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

Hankyen new version of height detector #30

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

hankyen0315
Copy link
Contributor

@hankyen0315 hankyen0315 commented Sep 7, 2022

Scene Change

  1. Under every MovePlatform_xxx/Platform objects, you need to assign the numbers and the HeightChangeDetector object to the HeightDetectorManger component, like shown below.
    image
  2. On the paths of every vertical move platform, there are supposed to be at least two HeightDetector gameobjects, like shown below
    image
    The one close to the ground should have MapObject as its HeightChangeDetector.SortingLayerName's value
    image
    The one close to raised platform should have Raised instead.
    image

And the overlapping between two HeightDetectors' collider range is fine.

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