PluginManager (Function): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
m Text replacement - "</code>" to "</SyntaxHighlight>"
m Text replacement - "</SyntaxHighlight>" to "</syntaxhighlight>"
Tags: mobile web edit mobile edit
Line 15: Line 15:
<SyntaxHighlight code="lua">
<SyntaxHighlight code="lua">
local plugin = PluginManager():CreatePlugin()
local plugin = PluginManager():CreatePlugin()
</SyntaxHighlight>
</syntaxhighlight>


==See Also==
==See Also==
*[[RBX.lua.PluginManager (Object)|PluginManager]]
*[[RBX.lua.PluginManager (Object)|PluginManager]]
[[Category:Functions]]
[[Category:Functions]]

Revision as of 05:07, 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