Editar

Partilhar via


BaseObjectCollection.ContainsNode Method

Definition

Overloads

ContainsNode(Transform)

Check if a node exists in the NodeList.

ContainsNode(Transform, Int32)

Check if a node exists in the NodeList.

ContainsNode(Transform)

Check if a node exists in the NodeList.

protected:
 bool ContainsNode(UnityEngine::Transform ^ node);
protected bool ContainsNode (UnityEngine.Transform node);
member this.ContainsNode : UnityEngine.Transform -> bool
Protected Function ContainsNode (node As Transform) As Boolean

Parameters

node
UnityEngine.Transform

The Transform belonging to the ObjectCollectionNode

Returns

true when node belongs to an element of the list.

Applies to

ContainsNode(Transform, Int32)

Check if a node exists in the NodeList.

protected:
 bool ContainsNode(UnityEngine::Transform ^ node, [Runtime::InteropServices::Out] int % nodeIndex);
public:
 bool ContainsNode(UnityEngine::Transform ^ node, [Runtime::InteropServices::Out] int % nodeIndex);
protected bool ContainsNode (UnityEngine.Transform node, out int nodeIndex);
public bool ContainsNode (UnityEngine.Transform node, out int nodeIndex);
member this.ContainsNode : UnityEngine.Transform * int -> bool
Protected Function ContainsNode (node As Transform, ByRef nodeIndex As Integer) As Boolean
Public Function ContainsNode (node As Transform, ByRef nodeIndex As Integer) As Boolean

Parameters

node
UnityEngine.Transform

The Transform belonging to ObjectCollectionNode

nodeIndex
Int32

The index of the element in NodeList

Returns

true when node belongs to an element of the list.

Applies to