浏览代码

Fixed terminoloy

/main
Thomas ICHÉ 6 年前
当前提交
dab1ddeb
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 2
      Runtime/Events/OnMessageEvent.cs
  2. 2
      Runtime/Messager/Messager.cs

2
Runtime/Events/OnMessageEvent.cs


void OnDisable()
{
Messager.UnregisterEvent(MessageName, Execute);
Messager.RemoveMessage(MessageName, Execute);
}
void Execute()

2
Runtime/Messager/Messager.cs


m_RegisteredMessages[eventName] += message;
}
public static void UnregisterEvent(string eventName, Message message)
public static void RemoveMessage(string eventName, Message message)
{
var currentEvent = m_RegisteredMessages[eventName];
currentEvent -= message;

正在加载...
取消
保存