예제 #1
0
    // Start is called before the first frame update
    private void OnMouseDown()
    {
        Debug.Log("si");
        parent.ButtonClicked(index);
        GetComponent <Renderer>().material = selected;

        coroutine = WaitAndPrint(time);
        StartCoroutine(coroutine);
    }