Skip to content

Instantly share code, notes, and snippets.

View mikecann's full-sized avatar
🏠
Working from home

Mike Cann mikecann

🏠
Working from home
View GitHub Profile
@keithweaver
keithweaver / unity-handle-touch-or-click.cs
Created March 27, 2017 14:00
Handle touch input or mouse click with Unity
// Example of handling click or touch down in Unity
using System.Collections;
using System.Collections.Generic;
using Unity;
public class CharacterMovement : MonoBehaviour {
void start() {
Debug.Log("Start");
}
void update() {