Click or drag to resize

UtilityFindObjectsT Method

Finds the objects in children of parent object by name of child

Namespace:  IBM.Watson.DeveloperCloud.Utilities
Assembly:  unity-documentation (in unity-documentation.exe) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public static T[] FindObjects<T>(
	GameObject parent,
	string nameChild,
	bool isContains = false,
	bool sortByName = false,
	bool includeInactive = true
)
where T : Component

Parameters

parent
Type: GameObject
Parent.
nameChild
Type: SystemString
Name child.
isContains (Optional)
Type: SystemBoolean
Check string contains the name instead of equality.
sortByName (Optional)
Type: SystemBoolean
If true, children will be returned sorted by their name.
includeInactive (Optional)
Type: SystemBoolean

[Missing <param name="includeInactive"/> documentation for "M:IBM.Watson.DeveloperCloud.Utilities.Utility.FindObjects``1(UnityEngine.GameObject,System.String,System.Boolean,System.Boolean,System.Boolean)"]

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "M:IBM.Watson.DeveloperCloud.Utilities.Utility.FindObjects``1(UnityEngine.GameObject,System.String,System.Boolean,System.Boolean,System.Boolean)"]

Return Value

Type: T
The objects.
See Also