Ejemplo n.º 1
0
    IEnumerator WaitandCallGlass()
    {
        CallonlyOnce = true;
        yield return(new WaitForSeconds(1f));

        mglassmanager.ReleaseGlassObeject();
        CallonlyOnce = false;
    }
Ejemplo n.º 2
0
    IEnumerator WaitForAnotherGlasssRealease()
    {
        // CallonlyOnce = true;
        yield return(new WaitForSeconds(releasespeed));

        mglassmanager.ReleaseGlassObeject();

        //  CallonlyOnce = false;
    }