PluginManager (Function): Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
>JulienDethurens No edit summary |
m Text replacement - "<code lua>" to "<SyntaxHighlight code="lua">" |
||
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]]: | ||
<code lua> | <SyntaxHighlight code="lua"> | ||
local plugin = PluginManager():CreatePlugin() | local plugin = PluginManager():CreatePlugin() | ||
</code> | </code> |
Revision as of 03:32, 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:
<SyntaxHighlight code="lua"> local plugin = PluginManager():CreatePlugin()