BaseObjectCollection.ContainsNode Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Returns
true when node
belongs to an element of the list.