Shared
Fields and functions that can be used in any bridge.
resourceName
The name of the resource this bridge should detect and use.
disableProvide
This disallows other resources to provide 'this_resource'
in their manifest.
init
This gets automatically called when the resource is detected and the bridge is initialized, can be used for initializing global variables like getSharedObject and everything else.
Name | Type | Description |
---|---|---|
this | Bridge | The table of this bridge, e.g. allows you to use this.resourceName |
Example
Last updated on