User Tools

Site Tools


prpl:docs:createlist

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
prpl:docs:createlist [2016/09/24 20:21] – created steelwingprpl:docs:createlist [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1
Line 1: Line 1:
-<- [[pf:prpl_information| PRPL reference]] 
-=====  CreateList  ===== 
  
-^Arguments^Result^Notation^ 
-| Key to check |0 or 1 depending if Key is held down | '' s1 -- b1'' | 
- 
- 
-=== Description === 
-Checks the specified keyboard key to see if it is held down.  Returns true only while the key is held down. 
-For a list of possible key strings, look here: 
-http://docs.unity3d.com/Documentation/ScriptReference/KeyCode.html 
-=== Examples === 
-<code>if (GetKey("LeftArrow")) 
-   #Move unit left 
-endif 
-if (GetKey("RightArrow")) 
-   #Move unit right 
-endif</code>  
prpl/docs/createlist.1474748471.txt.gz · Last modified: 2025/02/14 14:56 (external edit)