Exemple #1
0
    /// <summary>
    /// Inserts any character in the scene that is not yet in the characters table.
    /// </summary>
    private void InsertCharsNotInDbFromScene(string currentScene)
    {
        NPCs npcs = FindObjectOfType <NPCs>();

        foreach (string npcName in npcs.GetCharNamesList())
        {
            DbCommands.InsertTupleToTable("Characters", npcName, currentScene);
        }
    }