예제 #1
0
 public void SetDelegate(UIEvents ue, String _name)
 {
     RefreshTitle(_name);
     Previous.onClick.RemoveAllListeners();
     Next.onClick.RemoveAllListeners();
     Previous.onClick.AddListener(delegate
     {
         ue.SetStep(-1, InstallSpeed.slowspeed, true);
         DisableBut(StepStates.shoutup);
         scrollcontroller.Move((float)ue.step / ue.maxStep);
     });
     Next.onClick.AddListener(delegate
     {
         ue.SetStep(1, InstallSpeed.slowspeed, true);
         DisableBut(StepStates.shoutup);
         scrollcontroller.Move((float)ue.step / ue.maxStep);
     });
     DisableBut(StepStates.uptop);
 }