Difference between revisions of "Controller:getPlayerCount"

From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 
'''Available since:''' Gideros 2014.01<br/>
 
'''Available since:''' Gideros 2014.01<br/>
 +
'''Class:''' [[Controller]]<br/>
 +
 
=== Description ===
 
=== Description ===
Returns amount of connected controllers
+
Returns amount of connected controllers.
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
(number) = Controller:getPlayerCount()
 
(number) = Controller:getPlayerCount()
</source>
+
</syntaxhighlight>
 +
 
 
=== Return values ===
 
=== Return values ===
 
'''Returns''' (number) amount of connected controllers<br/>
 
'''Returns''' (number) amount of connected controllers<br/>
 +
 +
{{Controller}}

Latest revision as of 14:27, 13 July 2023

Available since: Gideros 2014.01
Class: Controller

Description

Returns amount of connected controllers.

(number) = Controller:getPlayerCount()

Return values

Returns (number) amount of connected controllers