Exemple #1
0
 private void ViewOnDestroyed()
 {
     _view.Destroyed -= ViewOnDestroyed;
     _view            = null;
 }
Exemple #2
0
 /// <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);
 }
Exemple #3
0
 public OwnerFilter(NetworkView view)
 {
     _view            = view;
     _view.Destroyed += ViewOnDestroyed;
 }