Function EngineSingleton.getSingleton

Returns a global singleton with given name. Often used for plugins, e.g. GodotPayments.

GodotObject getSingleton (
  const(String) name
) nothrow @nogc const;