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:
@@ -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" />
|
||||
|
||||
Reference in New Issue
Block a user