Skip to content

question about call method AsyncLoadOBJFile #3

@alexArayaM

Description

@alexArayaM

Hi. First of all thanks for the project. I am triying to test your loader because i want an obj loader that not freeze the UI. I have a simple question:
How must be called the AsyncLoadOBJFile method in order to wait until it ends, and to get a reference to the gameobject ?

for example the next line loads the model, but it dont wait until the process ends and i cant get the gameobject returned.

var model2 = SnapObj.SnapLoader.AsyncLoadOBJFile(pathToFile, new Vector3(0, 0, 0),false);

Any help will be appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions