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 2 SearchChild extensions #416

Merged

Conversation

LeeTwentyThree
Copy link
Member

@LeeTwentyThree LeeTwentyThree commented Jun 19, 2023

Changes made in this pull request

Added the following methods:

public static Transform SearchChild(this Transform transform, string name) {...}

public static GameObject SearchChild(this GameObject gameObject, string name) {...}

These methods search the hierarchy of the given object recursively for any children with a name that matches the given parameter.

Breaking changes

  • None

@LeeTwentyThree LeeTwentyThree merged commit 3043c71 into SubnauticaModding:master Jun 20, 2023
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.

1 participant