Esempio n. 1
0
    public Texture2D inputImage;        //Portrait that will be displayed


    // Update is called once per frame
    void OnMouseDown()          //If left clicked
    {
        if (this.tag != "Inventory")
        {
            DialogBox.DrawGUI(textField, inputImage);                   //See DialogBox.c
        }
        DialogBox.DrawGUI(textField, inputImage);
    }