public bool RemoveActorLoadedListener(ActorLoadedCallback callback, object userData) { ActorLoadedListener item = new ActorLoadedListener(); item.SetCallback(callback); item.SetUserData(userData); return(this.m_loadedListeners.Remove(item)); }
public void AddActorLoadedListener(ActorLoadedCallback callback, object userData) { ActorLoadedListener item = new ActorLoadedListener(); item.SetCallback(callback); item.SetUserData(userData); if (!this.m_loadedListeners.Contains(item)) { this.m_loadedListeners.Add(item); } }
public bool RemoveActorLoadedListener(ActorLoadedCallback callback) { return(this.RemoveActorLoadedListener(callback, null)); }
public void AddActorLoadedListener(ActorLoadedCallback callback) { this.AddActorLoadedListener(callback, null); }