Click or drag to resize

EngineGetSingleton Method

Returns a global singleton with given name. Often used for plugins, e.g. GodotPayment on Android.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public static Object GetSingleton(
	string name
)

Parameters

name
Type: SystemString

[Missing <param name="name"/> documentation for "M:Godot.Engine.GetSingleton(System.String)"]

Return Value

Type: Object

[Missing <returns> documentation for "M:Godot.Engine.GetSingleton(System.String)"]

See Also