Esempio n. 1
0
    private void OnTriggerExit(Collider other)
    {
        //GameObject player = other.gameObject;
        customCharController player = other.GetComponent <customCharController>();

        if (player != null)
        {
            Hud.CloseMessagePanel(player);
        }
    }
Esempio n. 2
0
    private void OnTriggerExit(Collider other)
    {
        GameObject player = other.gameObject;

        //customCharController item = other.GetComponent<customCharController>();
        if (player != null)
        {
            //Debug.Log("CIAO USCITO");
            Hud.CloseMessagePanel(player);
        }
    }
Esempio n. 3
0
    private void OnTriggerExit(Collider other)
    {
        Debug.Log("CIAO USCITO");
        Hud.CloseMessagePanel();

        /* customCharController item = other.GetComponent<customCharController>();
         * if (item != null)
         * {
         *   Debug.Log("CIAO USCITO");
         *   Hud.CloseMessagePanel();
         * }*/
    }