コード例 #1
0
ファイル: Context.cs プロジェクト: kawzar/proyecto-final
    private void Awake()
    {
        IStoryPresenter       storyPresenter       = new StoryPresenter(storyView, new Story(storyTextAsset.text));
        IMessageListPresenter messageListPresenter = new MessageListPresenter(messageListView);

        storyView.InjectPresenter(storyPresenter);
        messageListView.InjectPresenter(messageListPresenter);
        messagingService = new MessagingService(storyPresenter, messageListPresenter);
    }