This component handles
Component Author: Jabo Release Date: April 11, 2020
NOTE: This Component is a Static class
// Mouse Input Properties boolean Input.mouseClicked; boolean Input.leftMouseClicked; boolean Input.middleMouseClicked; boolean Input.rightMouseClicked; // Keyboard Input Properties boolean Input.keyPressed; char Input.lastKey;
Input.isKeyPressed(int keyCode); // Returns boolean Input.getMouse(); // Returns Vector2 Object Input.mouseIn(GameObject gameObject); // Returns boolean
Last updated 4 years ago