Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class ExampleView : MonoBehaviour
- {
- public void ShowWarning(Warning w){...}
- }
- public class ExampleMediator : Mediator<ExampleView>
- {
- void Initialize()
- {
- importantWarningsStream.Subscribe(view.ShowWarning);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement