コード例 #1
0
    private System.Collections.IEnumerator DisableObject()
    {
        IPushableObject player = this.GetComponentInParent<IPushableObject>();
        
        yield return new WaitForEndOfFrame();

        this.GetComponentInParent<PlayerController>().OrderRemovePowerUp();
        player.Drow();
    }
コード例 #2
0
 private void Drow(IPushableObject objectToDrow)
 {
     objectToDrow.Drow();
 }