UnityEngine.Component.GetComponentInChildrenOnly(bool)

Here are the examples of the csharp api UnityEngine.Component.GetComponentInChildrenOnly(bool) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Examples 7

19 Source : CGetComponentExtends.cs
with GNU General Public License v3.0
from Cytoid

public static bool GetComponentInChildrenOnly<T>(this Component component, out T objOut, bool includeInDepth = true)
		where T : UnityEngine.Object
	{
		objOut = component.GetComponentInChildrenOnly<T>();

		return (objOut != null);
	}