Пример #1
0
    // Use this for initialization

    // Update is called once per frame
    private void OnTriggerEnter(Collider other)
    {
        if (other.tag == "Player")
        {
            hud.OpenWinPanel();
        }
    }