コード例 #1
0
    IEnumerator waitAndDestroy()
    {
        yield return(new WaitForSeconds(3));

        playerController1.Mobilize();
        playerController2.Mobilize();
        Object.Destroy(this.gameObject);
    }