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

Add OnSpawned callback to Coordinated Spawns SpawnInfos #551

Conversation

LeeTwentyThree
Copy link
Member

Changes made in this pull request

  • Added an OnSpawned callback to the SpawnInfo struct which allows modders to implement custom behavior immediately after an object is spawned.
  • Added two new constructors to SpawnInfo for this callback, both of which require EVERYTHING to be filled out. This is a better alternative than continuing the absurd exponential growth of overloads.

Breaking changes

  • None

@LeeTwentyThree LeeTwentyThree merged commit adc1bb3 into SubnauticaModding:master Jun 9, 2024
1 check passed
@github-actions github-actions bot locked and limited conversation to collaborators Jun 9, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants