Наследование: uFrame.ECS.EcsComponent
Пример #1
0
 protected override void PlayerSystemOnCollisionEnterHandler(uFrame.ECS.OnTriggerEnterDispatcher data, Hazard collider, PlayerGunner source)
 {
     var handler = new PlayerSystemOnCollisionEnterHandler();
     handler.System = this;
     handler.Event = data;
     handler.Collider = collider;
     handler.Source = source;
     handler.Execute();
 }
Пример #2
0
        protected virtual void PlayerSystemOnCollisionEnterHandler(uFrame.ECS.OnTriggerEnterDispatcher data, Hazard collider, PlayerGunner source)
        {
            var handler = new PlayerSystemOnCollisionEnterHandler();

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