示例#1
0
 private void Awake()
 {
     _actionButton.onClick.AddListener(() => ActionButtonClicked?.Invoke());
     _restartButton.onClick.AddListener(() => RestartButtonClicked?.Invoke());
 }
示例#2
0
 private void OnTryAgainButtonClick()
 {
     RestartButtonClicked?.Invoke();
 }
示例#3
0
 protected override void OnButtonClick()
 {
     RestartButtonClicked?.Invoke();
 }
示例#4
0
 private void OnRestart(bool withBuffs)
 {
     RestartButtonClicked?.Invoke(this, withBuffs);
 }
示例#5
0
 private void RaiseRestartEvent()
 {
     RestartButtonClicked?.Invoke();
 }
示例#6
0
 private void OnRestartButtonClicked()
 {
     RestartButtonClicked?.Invoke();
 }
示例#7
0
 public void OnRestartButtonClicked() => RestartButtonClicked?.Invoke();