Ejemplo n.º 1
0
    IEnumerator tryAttachPyrWait()
    {
        yield return(new WaitForSeconds(1f));

        fuseEvent.initiateFuse();
        //deselect the active part
        selectPart.resetSelectedObject();
        //deselect tri FuseTo
        selectPart.resetSelectedFuseTo();
        yield return(new WaitForSeconds(1f));

        ConversationTrigger.AddToken("dreshaTriedToAttach");
    }
Ejemplo n.º 2
0
    IEnumerator waitThenInitiateFuse(float seconds)
    {
        yield return(new WaitForSeconds(seconds));

        fuseEvent.initiateFuse();
    }