private void ViewOnDestroyed() { _view.Destroyed -= ViewOnDestroyed; _view = null; }
/// <summary> /// remove the network view. This does not verify that the object in the slot was the same thing. Use contains to check that. /// </summary> /// <param name="view"></param> internal void Remove(NetworkView view) { _networkViews.Remove(view.Id); }
public OwnerFilter(NetworkView view) { _view = view; _view.Destroyed += ViewOnDestroyed; }