Beispiel #1
0
        public void Load(ConversationState state, string conversationName)
        {
            ConversationName = conversationName;
            ConversationProps props = null;

            if (Mods.Get.Runtime.LoadMod <ConversationProps> (ref props, "Conversation", ConversationName))
            {
                State = state;
                Props = props;
            }
        }
Beispiel #2
0
        public void EditorLoad()
        {
            Mods.Get.Editor.InitializeEditor(true);
            ConversationState state = null;
            ConversationProps props = null;

            if (Mods.Get.Runtime.LoadMod <ConversationProps> (ref props, "Conversation", Props.Name) &&
                Mods.Get.Runtime.LoadMod <ConversationState> (ref state, "Conversation", Props.Name + "-State"))
            {
                Props = props;
                State = state;
            }
        }