private IEnumerator ExecuteWait(IExecuteCommand cmd) { this.freeze = true; yield return(cmd.OnExecute()); this.freeze = false; }
public IEnumerator OnExecute() { yield return(firstCmd.OnExecute()); yield return(secondCmd.OnExecute()); }