Beispiel #1
0
 private Action <DestructedListener> Cleanup(GameEntity entity) =>
 listener =>
 {
     IViewController controller = gameObject.GetComponent <IViewController>();
     controller.Destroy();
 };