示例#1
0
 public void Init(ShowTextSignal showTextSignal)
 {
     _showTextSignal = showTextSignal;
     _showTextSignal.Listen(ChangeText);
 }
 public void Init(ChangeSceneSignal changeSceneSignal, ShowTextSignal showTextSignal)
 {
     _changeSceneSignal = changeSceneSignal;
     _showTextSignal    = showTextSignal;
 }
示例#3
0
 public void Init(ButtonClickedSignal buttonClickedSignal, ShowTextSignal showTextSignal)
 {
     _buttonClickedSignal = buttonClickedSignal;
     _showTextSignal      = showTextSignal;
 }
示例#4
0
 void OnDisable()
 {
     _showTextSignal -= ChangeText;
 }