Created
July 12, 2011 01:22
-
-
Save Gillissie/1077196 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Check for arrow keys to set the orientation of the brush. | |
if (Input.GetKeyDown(KeyCode.LeftArrow)) | |
{ | |
brush.rotate(-1); | |
} | |
if (Input.GetKeyDown(KeyCode.RightArrow)) | |
{ | |
brush.rotate(1); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment