Implement Extension Loader
* Extensions are now scanned and loaded on demand. * Extensions found are cached into a file that is used to load them (which is also exported). * Editor will ask to restart when an extension requires core functionality. * Editor will attempt to load extensions always before importing or loading scenes. This ensures extensions can register the relevant types.
This commit is contained in:
parent
78bf06ea41
commit
542e6e8ca6
11 changed files with 159 additions and 8 deletions
|
|
@ -18,6 +18,12 @@
|
|||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="is_extension_loaded" qualifiers="const">
|
||||
<return type="bool" />
|
||||
<argument index="0" name="path" type="String" />
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="load_extension">
|
||||
<return type="int" enum="NativeExtensionManager.LoadStatus" />
|
||||
<argument index="0" name="path" type="String" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue