Skip to content

Instantly share code, notes, and snippets.

View khakionion's full-sized avatar

Michael Herring khakionion

View GitHub Profile
@khakionion
khakionion / player.cs
Last active February 1, 2016 09:17 — forked from sylistine/player.cs
void Update ()
{
if (Input.touchCount > 0 && Input.GetTouch(0).phase == TouchPhase.Began)
{
HandleTouch();
}
}
void HandleTouch()
{