load_from_resource


Description:

[ Version ( since = "1.10" ) ]
public uint load_from_resource (string resource_path) throws Error

Loads the definitions from a resource file into this and merges with the currently loaded ones, if any.

Parameters:

this

a Script

resource_path

the resource path of the file to parse

Returns:

on error, zero is returned and error is set accordingly. On success, the merge id for the UI definitions is returned. You can use the merge id with unmerge_objects.