create_asset


Description:

public bool create_asset (string? id, Type extractable_type)

Create and add a Asset to this.

You should connect to the "asset-added" signal to get the asset when it finally gets added to this

Parameters:

this

A Project

id

The id of the asset to create and add to this

extractable_type

The Type of the asset to create

Returns:

true if the asset started to be added false it was already in the project