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

Import glb files in editor time #729

Open
Singh-sid930 opened this issue Nov 11, 2024 · 0 comments
Open

Import glb files in editor time #729

Singh-sid930 opened this issue Nov 11, 2024 · 0 comments

Comments

@Singh-sid930
Copy link

Hi,
I have copied over glb files in the Assets directory and I can drag and drop them into the editor window with ease.
However, I would like to be able to do this programmatically through a custom editor button.
I have been trying to make that happen but getting the same error as this issue
#696
note that the issue is triggered at the initialization of the GltfImport() object itself.
Is there any way to accomplish loading a glb file at editor time by using a custom editor gui button ?

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

No branches or pull requests

1 participant