public void Init(ShowTextSignal showTextSignal) { _showTextSignal = showTextSignal; _showTextSignal.Listen(ChangeText); }
public void Init(ChangeSceneSignal changeSceneSignal, ShowTextSignal showTextSignal) { _changeSceneSignal = changeSceneSignal; _showTextSignal = showTextSignal; }
public void Init(ButtonClickedSignal buttonClickedSignal, ShowTextSignal showTextSignal) { _buttonClickedSignal = buttonClickedSignal; _showTextSignal = showTextSignal; }
void OnDisable() { _showTextSignal -= ChangeText; }