• Register a runtime object (class extending gdjs.RuntimeObject) that can be used in a scene.

    The name of the type of the object must be complete, with the namespace if any. For example, if you are providing a Text object in the TextObject extension, the full name of the type of the object is "TextObject::Text".

    Parameters

    • objectTypeName: string

      The name of the type of the Object.

    • Ctor: typeof RuntimeObject

      The constructor of the Object.

    Returns void