public void AddEvent(Action action) { if (action == null) { DebugUtils.Log("FunapiManager.AddEvent - action is null."); return; } lock (event_lock_) { event_queue_.Enqueue(action); } }