PluginManager (Function): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>JulienDethurens
Created page with "{{protected}} {{Function |name = PluginManager |returns = PluginManager |description = This function returns the [[RBX.lua.PluginManager (O..."
 
m Text replacement - "<SyntaxHighlight code="lua">" to "<syntaxhighlight lang="lua">"
Tags: mobile web edit mobile edit
 
(12 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]]:


<code lua>
<syntaxhighlight lang="lua">
local plugin = PluginManager():CreatePlugin()
local plugin = PluginManager():CreatePlugin()
</code>
</syntaxhighlight>
 
==See Also==
*[[RBX.lua.PluginManager (Object)|PluginManager]]
[[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()

See Also