Ejemplo n.º 1
0
        protected void Start()
        {
            DialogueManager.AddLuaObserver("return DialogReaderAlwaysChanging();", LuaWatchFrequency.EveryDialogueEntry, new LuaChangedDelegate(this.DiscoReaderHandleNewDialogueEntry));
            ConversationLogger = SingletonComponent <Sunshine.ConversationLogger> .Singleton;

            ShowDebugMessage("Sychotix's voice mod successfully injected! :)", 10);
        }
Ejemplo n.º 2
0
 void OnEnable()
 {
     DialogueManager.AddLuaObserver(luaVar, freqency, OnVarChanged);
 }