浏览代码

Messager logs only when verbose

/main
peeweek 5 年前
当前提交
abc16124
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 3
      Runtime/Managers/Messager/Messager.cs

3
Runtime/Managers/Messager/Messager.cs


public static void Send(string eventName)
{
Debug.Log(string.Format("[MessageManager] Broadcast: {0}", eventName));
if(GameplayIngredientsSettings.currentSettings.verboseCalls)
Debug.Log(string.Format("[MessageManager] Broadcast: {0}", eventName));
if (m_RegisteredMessages.ContainsKey(eventName))
{

正在加载...
取消
保存