public override Node AddNode(Type type) { var node = base.AddNode(type); if (node is EntryNode && entry == null) { entry = node as EntryNode; } return(node); }
internal void Init() { ResourceManager.Instance.LoadAsset <StoryGraph>( "Story", story => { m_entry = story.entry; EventManager.Instance.OnEvent(GameEvent.Base_StoryLoaded); } ); }