public bool RemoveProgressUpdatedListener(AdventureProgressUpdatedCallback callback, object userData) { if (callback == null) { return(false); } AdventureProgressUpdatedListener item = new AdventureProgressUpdatedListener(); item.SetCallback(callback); item.SetUserData(userData); if (!this.m_progressUpdatedListeners.Contains(item)) { return(false); } this.m_progressUpdatedListeners.Remove(item); return(true); }
public bool RemoveProgressUpdatedListener(AdventureProgressUpdatedCallback callback) { return(this.RemoveProgressUpdatedListener(callback, null)); }