bingo b面修改
This commit is contained in:
@@ -180,7 +180,7 @@ namespace BingoBrain
|
||||
if (gameObjTransform != null)
|
||||
{
|
||||
gameObjTransform.localPosition = originPos + new Vector3(index / BingoCell.bingoCount * offset,
|
||||
index % BingoCell.bingoCount * -offset);
|
||||
index % BingoCell.bingoCount * -(offset + 0.02f));
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -465,10 +465,10 @@ namespace BingoBrain
|
||||
public int IsBingo(List<int> selectList)
|
||||
{
|
||||
foreach (var kv in from kv in BingoCell.bingoDic
|
||||
where !bingoedList.Contains(kv.Key)
|
||||
let isAllMatch = kv.Value.All(selectList.Contains)
|
||||
where isAllMatch
|
||||
select kv)
|
||||
where !bingoedList.Contains(kv.Key)
|
||||
let isAllMatch = kv.Value.All(selectList.Contains)
|
||||
where isAllMatch
|
||||
select kv)
|
||||
{
|
||||
return kv.Key;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user