/** * 派发通知 * **/ public void PostNotify(string Id, NotificationArg Arg) { Item item = ObjectPool.Instance.GetObjectInstance <Item> (); item.id = Id; item.arg = Arg; postQueue.Enqueue(item); }
public void Reset() { id = ""; arg = null; handler = null; }