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

Ability to create meshes at runtime? #72

Open
cihadturhan opened this issue Nov 6, 2024 · 2 comments
Open

Ability to create meshes at runtime? #72

cihadturhan opened this issue Nov 6, 2024 · 2 comments

Comments

@cihadturhan
Copy link

Hello,

I saw there are many editor functions like PrefabUtil.CreateMeshPrefab used to create meshes.

I wonder if it's possible to generate and use meshes at runtime.

Thanks

@sr4dev
Copy link
Owner

sr4dev commented Nov 7, 2024

Unfortunately, SpriteAssist was never intended to be used during runtime, but it wouldn't be hard to add the functionality - it would just be a matter of extracting the Sprite's Mesh and rendering it with a MeshRenderer. I'd love to make something like this someday, but I don't have a lot of time to work on it.

@cihadturhan
Copy link
Author

Thank you!
I'll try to make it compatible at runtime in my free time. I might ask a few questions if you don't mind :)

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

2 participants