PluginManager (Function): Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
>Tenal No edit summary |
m Text replacement - "<SyntaxHighlight code="lua">" to "<syntaxhighlight lang="lua">" Tags: mobile web edit mobile edit |
||
(6 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{protected}} | {{protected|nocat=true}} | ||
{{Function | {{Function | ||
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 lang="lua"> | ||
local plugin = PluginManager():CreatePlugin() | local plugin = PluginManager():CreatePlugin() | ||
</ | </syntaxhighlight> | ||
==See Also== | ==See Also== | ||
*[[RBX.lua.PluginManager (Object)|PluginManager]] | *[[RBX.lua.PluginManager (Object)|PluginManager]] | ||
[[Category:Functions]] | [[Category:Functions]] |
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()