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); }
public void SetPlayerFinishType(PlayerFinishType finishType) { myFinishType = finishType; }