Example #1
0
 public override void UnSubscribeToDetachmentEvent(Space targetContainer, GODelegate del)
 {
     targetContainer.PlaceDetached -= lambdas[del];
     lambdas.Remove(del);
 }
Example #2
0
 public abstract void SubscribeToDetachmentEvent(T targetContainer, GODelegate del);
Example #3
0
 public override void SubscribeToDetachmentEvent(Space targetContainer, GODelegate del)
 {
     Space.PlaceDelegate l = place => del(place.gameObject);
     lambdas.Add(del, l);
     targetContainer.PlaceDetached += l;
 }