Ejemplo n.º 1
0
    public static void ShowFilteredRelationsGraph(string groupFilter = null, string busFilter = null)
    {
        if (string.IsNullOrEmpty(groupFilter))
        {
            groupFilter = MasterAudioEventBackend.AllBusesOrGroupsWord;
        }
        if (string.IsNullOrEmpty(busFilter))
        {
            busFilter = MasterAudioEventBackend.AllBusesOrGroupsWord;
        }

        MasterAudioEventBackend.GroupFilter = groupFilter;
        MasterAudioEventBackend.BusFilter   = busFilter;
        RelationsInspectorLink.ResetTargets(new object[] { "currentScene" }, "MasterAudioEventBackend");
    }
Ejemplo n.º 2
0
 private void AddRelationsInspectorMenuItems(GenericMenu menu)
 {
     if (RelationsInspectorLink.RIisAvailable)
     {
         if (RelationsInspectorLink.HasBackend(RIConversationReferenceBackend))
         {
             menu.AddItem(new GUIContent("RelationsInspector/Conversation References"), false, OpenRelationsInspectorConversationReferenceBackend);
         }
         if (RelationsInspectorLink.HasBackend(RIConversationLinkBackend))
         {
             menu.AddItem(new GUIContent("RelationsInspector/Conversation Links"), false, OpenRelationsInspectorConversationLinkBackend);
         }
         //--- Not working yet:
         //if (RelationsInspectorLink.HasBackend(RIDialogueEntryLinkBackend))
         //{
         //    menu.AddItem(new GUIContent("RelationsInspector/Dialogue Entry Links"), false, OpenRelationsInspectorDialogueEntryLinkBackend);
         //}
     }
 }
Ejemplo n.º 3
0
 private void OpenRelationsInspectorDialogueEntryLinkBackend()
 {
     RelationsInspectorLink.ResetTargets(new object[] { currentConversation }, RIDialogueEntryLinkBackend);
 }
Ejemplo n.º 4
0
 private void OpenRelationsInspectorConversationReferenceBackend()
 {
     RelationsInspectorLink.ResetTargets(new object[] { database }, RIConversationReferenceBackend);
 }