protected virtual void SpawnEventGroupShouldSpawnEventHandler(TetrisDB.GroupShouldSpawnEvent data, SpawnComponent group) { var handler = new SpawnEventGroupShouldSpawnEventHandler(); handler.System = this; handler.Event = data; handler.Group = group; StartCoroutine(handler.Execute()); }
protected virtual void SpawnEventGameReadyHandler(uFrame.Kernel.GameReadyEvent data, SpawnComponent group) { var handler = new SpawnEventGameReadyHandler(); handler.System = this; handler.Event = data; handler.Group = group; StartCoroutine(handler.Execute()); }