Skip to content

Getting dependencies from loaded scenes in unity #47

Closed Answered by gustavopsantos
Antoshidza asked this question in Q&A
Discussion options

You must be logged in to vote

So it seems in your case it depends on your implementation. Basically the container heirarchy is almost fully flat, except that all scene container inherits from the project container. Knowing that, "dependencies" on scene containers can depend on "dependencies" from project container, but the opposite is not true.

Container Hierarchy Example:

  graph TD;
      ProjectContainer-->SceneOneContainer;
      ProjectContainer-->SceneTwoContainer;
      ProjectContainer-->SceneThreeContainer;

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@Antoshidza
Comment options

@gustavopsantos
Comment options

Answer selected by Antoshidza
@Antoshidza
Comment options

@Antoshidza
Comment options

@gustavopsantos
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants