GDExtensionInterfaceScriptInstanceCreate2 typedef
GDExtensionInterfaceScriptInstanceCreate2 = Pointer<NativeFunction<GDExtensionInterfaceScriptInstanceCreate2Function> >
@name script_instance_create2
@since 4.2
@deprecated in Godot 4.3. Use script_instance_create3 instead.
Creates a script instance that contains the given info and instance data.
@param p_info A pointer to a GDExtensionScriptInstanceInfo2 struct. @param p_instance_data A pointer to a data representing the script instance in the GDExtension. This will be passed to all the function pointers on p_info.
@return A pointer to a ScriptInstanceExtension object.
Implementation
typedef GDExtensionInterfaceScriptInstanceCreate2 =
ffi.Pointer<
ffi.NativeFunction<GDExtensionInterfaceScriptInstanceCreate2Function>
>;