Exemple #1
0
    private void OnSpinClicked()
    {
        //UpdateListeners(false); // 这句话根本就不会起作用
        //spinButtonClickedSignal.RemoveListener(OnSpinClicked); // can NOT do this

        StartSpin.Dispatch();
    }
Exemple #2
0
 private void UpdateListeners(bool value)
 {
     view.dispatcher.UpdateListener(value, GameView.STOP_SPIN, OnSpinStop);
     StartSpin.AddListener(OnSpinButtonClicked);
 }
Exemple #3
0
 private void UpdateListeners(bool value)
 {
     StopSpin.AddListener(ScoreChanged);
     change_score_signal.AddListener(WinScoreAdded);
     StartSpin.AddListener(ResetWinScore);
 }
Exemple #4
0
 public void Spin()
 {
     //Debug.Log(TAG + ": Spin() start");
     StartSpin.Dispatch();
 }