Added basic clickable sprites for testing/experimenting

This commit is contained in:
Gregory Campbell
2020-03-20 20:07:42 -04:00
parent 1bba631845
commit d0837bbcbd
4 changed files with 732 additions and 188 deletions
+23
View File
@@ -0,0 +1,23 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ClickScript : MonoBehaviour
{
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void Update()
{
}
void OnMouseDown(){
Debug.Log("Sprite Clicked");
}
}