コード例 #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");
    }
コード例 #2
0
    IEnumerator waitThenInitiateFuse(float seconds)
    {
        yield return(new WaitForSeconds(seconds));

        fuseEvent.initiateFuse();
    }