Click or drag to resize

NodeHasNodeAndResource Method

Returns true if the NodePath points to a valid node and its subname points to a valid resource, e.g. Area2D/CollisionShape2D:shape. Properties with a non-Resource type (e.g. nodes or primitive math types) are not considered resources.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public bool HasNodeAndResource(
	NodePath path
)

Parameters

path
Type: GodotNodePath

[Missing <param name="path"/> documentation for "M:Godot.Node.HasNodeAndResource(Godot.NodePath)"]

Return Value

Type: Boolean

[Missing <returns> documentation for "M:Godot.Node.HasNodeAndResource(Godot.NodePath)"]

See Also