public static void RegisterDestoryEventTrigger(this EntityPool pool, IZSystem system) { pool.OnPreDestory += _ => system.Execute(); }
public static void RegisterStartEventTrigger(this EntityPool pool, IZSystem system) { pool.OnStartEnd += _ => system.Execute(); }