Example #1
0
        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());
        }
Example #2
0
        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());
        }