Difference between revisions of "Controller:getPlayerCount"

From GiderosMobile
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
<languages />
+
'''Available since:''' Gideros 2014.01<br/>
'''<translate>Available since</translate>:''' Gideros 2014.01<br/>
+
'''Class:''' [[Controller]]<br/>
'''<translate>Class</translate>:''' [[Special:MyLanguage/Controller|Controller]]<br/>
+
 
=== <translate>Description</translate> ===
+
=== Description ===
<translate>Returns amount of connected controllers</translate>
+
Returns amount of connected controllers.
 
<source lang="lua">
 
<source lang="lua">
 
(number) = Controller:getPlayerCount()
 
(number) = Controller:getPlayerCount()
 
</source>
 
</source>
=== <translate>Return values</translate> ===
+
 
'''<translate>Returns</translate>''' (number) <translate>amount of connected controllers</translate><br/>
+
=== Return values ===
 +
'''Returns''' (number) amount of connected controllers<br/>
  
 
{{Controller}}
 
{{Controller}}

Revision as of 05:56, 11 June 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