Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

How does ProjectFolderModule.cs generate FolderData?

Discussion in 'EditorXR' started by jkredzvr, Jun 2, 2017.

  1. jkredzvr


    Jul 1, 2016
    Could someone give a high level explanation of how the ProjectFolderModule creates FolderData? I am trying to track down what initiates the method calls for the CreateFolderData co-routines.

    I wanted to extend the Workspace prefab so it could populate a workspace with Images gameobjects in a specific project folder and instantiate an "Image GameObject". It would work very similarly to the ProjectWorkSpace prefab.
  2. amirebrahimi_unity


    Aug 12, 2015
    Please keep in mind that these are internal modules that we are not planning to expose, which is why they are not documented. IUsesProjectFolderData is how you would interface with getting project folder data, which is probably what you are making use of.

    Re: when folder data is collected -- the module updates it on startup and also any time the project window has changed. This is self contained in the ProjectFolderModule.