private bool ActionSuccedded(IEnumerator <ActionResultInfo> results) { results.MoveNext(); ActionResultInfo result = results.Current; return(result.GameData.IsSucceed); }
private bool ActionSuccedded(IEnumerator <ActionResultInfo> results) { if (results != null && results.MoveNext()) { ActionResultInfo result = results.Current; return(result.GameData.IsSucceed); } return(false); }
private bool GetSepcResult(IEnumerator <ActionResultInfo> res) { bool canMove = res.MoveNext(); if (canMove) { ActionResultInfo t = res.Current; return(t.GameData.IsSucceed); } return(false); }