Exemplo n.º 1
0
    public void cancle()
    {
        ExitAppScript self = GetComponent <ExitAppScript> ();

        self = null;
        Destroy(self);
        Destroy(gameObject);
    }
Exemplo n.º 2
0
    public void cancle()
    {
        SoundCtrl.getInstance().playSoundUI();
        ExitAppScript self = GetComponent <ExitAppScript> ();

        self = null;
        Destroy(self);
        Destroy(gameObject);
    }