Click or drag to resize

ClassDBClassHasMethod Method

Returns whether class (or its ancestry if no_inheritance is false) has a method called method or not.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public static bool ClassHasMethod(
	string class,
	string method,
	bool noInheritance = false
)

Parameters

class
Type: SystemString

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

method
Type: SystemString

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

noInheritance (Optional)
Type: SystemBoolean

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

Return Value

Type: Boolean

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

See Also