8000 Add class spawn hooks by Noxmore · Pull Request #67 · Noxmore/bevy_trenchbroom · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add class spawn hooks #67

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

Merged
merged 1 commit into from
Apr 17, 2025
Merged

Add class spawn hooks #67

merged 1 commit into from
Apr 17, 2025

Conversation

Noxmore
Copy link
Owner
@Noxmore Noxmore commented Apr 17, 2025

A custom function that is run inside the spawn function of a class that you are now able to specify for a derive macro.

This also moves class model spawning functions to this system, using the LoadContext supplied to an asset loader to make the map asset itself dependent on anything you load within.

This also also changes TrenchBroomGltfRotationFix into a simple function to be used in this system.

Fixes #61

@Noxmore Noxmore merged commit abf7771 into main Apr 17, 2025
4 checks passed
@Noxmore Noxmore deleted the class-spawn-hooks branch April 17, 2025 17:32
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

Successfully merging this pull request may close these issues.

Add a convenience method to retrieve a QuakeClass's model path
1 participant
0