Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

Flying Yolk - Ground Scrolling

Discussion in 'Project Tiny' started by Rocco_B, May 30, 2019.

  1. Rocco_B

    Rocco_B

    Joined:
    Oct 28, 2016
    Posts:
    34
    I have been going through the example projects included with Project Tiny and implementing some of the features in my project where they fit. One thing that I used was the implementation for the scrolling ground. SortingGroup component was awesome for helping me sort everything that was a child of my Entity.

    However, I noticed when I pause the Flying Yolk demo, the child entities in Ground actually reordered in the hierarchy as they are repositioned by the RepeatingBackgroundSystem. However, for the life of me, I can not find anywhere in the code where this actually happens! Does anyone know how this is being done?
     
    Last edited: May 30, 2019