Exemplo n.º 1
0
        public override Node AddNode(Type type)
        {
            var node = base.AddNode(type);

            if (node is EntryNode && entry == null)
            {
                entry = node as EntryNode;
            }
            return(node);
        }
Exemplo n.º 2
0
 internal void Init()
 {
     ResourceManager.Instance.LoadAsset <StoryGraph>(
         "Story",
         story =>
     {
         m_entry = story.entry;
         EventManager.Instance.OnEvent(GameEvent.Base_StoryLoaded);
     }
         );
 }