Browse Source

Renamed SyncSetDialog to SetSayDialog

master
Christopher 9 years ago
parent
commit
46c4b25eb6
  1. 4
      Assets/Fungus/Thirdparty/FungusLua/Resources/Lua/fungus.txt
  2. 2
      Assets/Fungus/Thirdparty/FungusLua/Scripts/LuaUtils.cs

4
Assets/Fungus/Thirdparty/FungusLua/Resources/Lua/fungus.txt vendored

@ -143,10 +143,10 @@ M.sayoptions.waitforinput = true
M.sayoptions.fadewhendone = true M.sayoptions.fadewhendone = true
M.sayoptions.stopvoiceover = true M.sayoptions.stopvoiceover = true
-- Set the active saydialog to use with the say function -- Set the active saydialog to use with the say and conversation functions
function M.setsaydialog(saydialog) function M.setsaydialog(saydialog)
M.sayoptions.saydialog = saydialog M.sayoptions.saydialog = saydialog
luautils.SyncSayDialog(saydialog) luautils.SetSayDialog(saydialog)
end end
-- Gets the active say dialog, or creates one if none exists yet -- Gets the active say dialog, or creates one if none exists yet

2
Assets/Fungus/Thirdparty/FungusLua/Scripts/LuaUtils.cs vendored

@ -485,7 +485,7 @@ namespace Fungus
/// Sync the active say dialog with what Lua thinks the SayDialog should be /// Sync the active say dialog with what Lua thinks the SayDialog should be
/// </summary> /// </summary>
/// <param name="sayDialog"></param> /// <param name="sayDialog"></param>
public void SyncSayDialog(SayDialog sayDialog) public void SetSayDialog(SayDialog sayDialog)
{ {
SayDialog.activeSayDialog = sayDialog; SayDialog.activeSayDialog = sayDialog;
} }

Loading…
Cancel
Save