PluginManager (Function): Difference between revisions

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


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

Revision as of 03:45, 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