Пример #1
0
    public void OnInputClicked(InputClickedEventData eventData)
    {
        //if (!isTextBoxThere) {
        //    textBox.transform.position = new Vector3(gameObject.transform.position.x, gameObject.transform.position.y + 0.25f, gameObject.transform.position.z);
        //    isTextBoxThere = true;
        //}
        //else {
        //    textBox.transform.position = new Vector3(99, 99, 99);
        //    isTextBoxThere = false;
        //}

        textboxManager.OnLabelTap(gameObject);

        eventData.Use(); // Mark the event as used, so it doesn't fall through to other handlers.
    }