public async UniTask <bool> EffectMatchFinish(PlayerFinishType type)
    {
        switch (type)
        {
        case PlayerFinishType.Bystander:
            await EffectBystander();

            break;

        case PlayerFinishType.Win:
            await EffectWin();

            break;

        case PlayerFinishType.Lose:
            await EffectLose();

            break;

        default: break;
        }
        return(true);
    }
示例#2
0
 public void SetPlayerFinishType(PlayerFinishType finishType)
 {
     myFinishType = finishType;
 }