Ejemplo n.º 1
0
 //打开窗口
 public static async ETTask OpenWindowTask <T, P1, P2, P3, P4>(this UIManagerComponent self, string path, P1 p1, P2 p2, P3 p3, P4 p4, UILayerNames layer_name = UILayerNames.NormalLayer) where T : Entity, IAwake, IOnCreate, IOnEnable <P1, P2, P3, P4>, new()
 {
     await self.OpenWindow <T, P1, P2, P3, P4>(path, p1, p2, p3, p4, layer_name);
 }
Ejemplo n.º 2
0
 //打开窗口
 public static async ETTask OpenWindowTask <T>(this UIManagerComponent self, string path, UILayerNames layer_name = UILayerNames.NormalLayer) where T : Entity, IAwake, IOnCreate, IOnEnable, new()
 {
     await self.OpenWindow <T>(path, layer_name);
 }