PluginManager (Function): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
m Text replacement - "</SyntaxHighlight>" to "</syntaxhighlight>"
Tags: mobile web edit mobile edit
m Text replacement - "<SyntaxHighlight code="lua">" to "<syntaxhighlight lang="lua">"
Tags: mobile web edit mobile edit
 
Line 13: Line 13:
This example uses the [[PluginManager (Function)|PluginManager]] function to get the [[RBX.lua.PluginManager (Object)|PluginManager]] and then uses it to create a [[RBX.lua.Plugin (Object)|Plugin]]:
This example uses the [[PluginManager (Function)|PluginManager]] function to get the [[RBX.lua.PluginManager (Object)|PluginManager]] and then uses it to create a [[RBX.lua.Plugin (Object)|Plugin]]:


<SyntaxHighlight code="lua">
<syntaxhighlight lang="lua">
local plugin = PluginManager():CreatePlugin()
local plugin = PluginManager():CreatePlugin()
</syntaxhighlight>
</syntaxhighlight>

Latest revision as of 06:16, 27 April 2023

Protected:This item is protected. Attempting to use it in a Script or LocalScript will cause an error.
PluginManager( )
Returns PluginManager
Description: This function returns the PluginManager, which can be used to create Plugins.


Example

This example uses the PluginManager function to get the PluginManager and then uses it to create a Plugin:

local plugin = PluginManager():CreatePlugin()

See Also