示例#1
0
文件: GiveBook.cs 项目: cyndrdev/myah
    void Start()
    {
        if (!books.Any())
        {
            throw new System.Exception();
        }

        _questView    = Game.Instance.UI.QuestView;
        _dialogueView = Game.Instance.UI.DialogueView;

        _narrative = Game.Instance.Narrative;
        _narrative.StoryProgressed.AddListener(OnProgress);

        _storage = Game.Instance.Storage;
    }
示例#2
0
 private void Start()
 {
     _storage = Game.Instance.Storage;
 }