 | UnityGameObjectUtilsGetDescendantsAndSelf Method |
[Missing <summary> documentation for "M:Slash.Unity.Common.Utils.UnityGameObjectUtils.GetDescendantsAndSelf(UnityEngine.GameObject)"]
Namespace: Slash.Unity.Common.UtilsAssembly: Slash.Unity.Common (in Slash.Unity.Common.dll) Version: 1.0.6018.40182
Syntaxpublic static IEnumerable<GameObject> GetDescendantsAndSelf(
this GameObject gameObject
)
<ExtensionAttribute>
Public Shared Function GetDescendantsAndSelf (
gameObject As GameObject
) As IEnumerable(Of GameObject)
public:
[ExtensionAttribute]
static IEnumerable<GameObject^>^ GetDescendantsAndSelf(
GameObject^ gameObject
)
[<ExtensionAttribute>]
static member GetDescendantsAndSelf :
gameObject : GameObject -> IEnumerable<GameObject>
Parameters
- gameObject
- Type: GameObject
[Missing <param name="gameObject"/> documentation for "M:Slash.Unity.Common.Utils.UnityGameObjectUtils.GetDescendantsAndSelf(UnityEngine.GameObject)"]
Return Value
Type:
IEnumerableGameObject[Missing <returns> documentation for "M:Slash.Unity.Common.Utils.UnityGameObjectUtils.GetDescendantsAndSelf(UnityEngine.GameObject)"]
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
GameObject. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also