25 lines
268 B
C#
25 lines
268 B
C#
using UnityEngine;
|
|
|
|
public class KeyHole : MonoBehaviour
|
|
{
|
|
public int index;
|
|
|
|
void Start()
|
|
{
|
|
|
|
}
|
|
|
|
|
|
void Update()
|
|
{
|
|
|
|
}
|
|
|
|
private void OnMouseDown()
|
|
{
|
|
Debug.Log("KeyHole " + index + " was tapped!");
|
|
}
|
|
}
|
|
|
|
|