Exemple #1
0
 protected virtual void HazardSystemOnCollisionEnterDispatcherHandler(uFrame.ECS.UnityUtilities.OnCollisionEnterDispatcher data, DestroyOnCollision source)
 {
 }
Exemple #2
0
        protected virtual void HandleDestroyOnCollisionHandler(uFrame.ECS.UnityUtilities.OnTriggerEnterDispatcher data, DestroyOnCollision source)
        {
            var handler = new HandleDestroyOnCollisionHandler();

            handler.System = this;
            handler.Event  = data;
            handler.Source = source;
            StartCoroutine(handler.Execute());
        }