C# Класс Nez.ColliderTriggerHelper

helper class used by the Movers to manage trigger colliders interactions and calling ITriggerListeners.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
ColliderTriggerHelper ( Entity entity ) : System.Collections.Generic
update ( ) : void

update should be called AFTER Entity is moved. It will take care of any ITriggerListeners that the Collider overlaps.

Приватные методы

Метод Описание
checkForExitedColliders ( ) : void
notifyTriggerListeners ( Pair collisionPair, bool isEntering ) : void

Описание методов

ColliderTriggerHelper() публичный Метод

public ColliderTriggerHelper ( Entity entity ) : System.Collections.Generic
entity Entity
Результат System.Collections.Generic

update() публичный Метод

update should be called AFTER Entity is moved. It will take care of any ITriggerListeners that the Collider overlaps.
public update ( ) : void
Результат void