Click or drag to resize

ClassDBIsParentClass Method

Returns whether inherits is an ancestor of class or not.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public static bool IsParentClass(
	string class,
	string inherits
)

Parameters

class
Type: SystemString

[Missing <param name="class"/> documentation for "M:Godot.ClassDB.IsParentClass(System.String,System.String)"]

inherits
Type: SystemString

[Missing <param name="inherits"/> documentation for "M:Godot.ClassDB.IsParentClass(System.String,System.String)"]

Return Value

Type: Boolean

[Missing <returns> documentation for "M:Godot.ClassDB.IsParentClass(System.String,System.String)"]

See Also