private void OnTriggerEnter(Collider other)
        {
            //todo 2nd game: remove this class. it should be dead code
            var gameObjWrapper = GameEngineInterface.FindGameObject(other.gameObject.name);

            LogicHandler.OnCollision(this, gameObjWrapper);
            //Debug.Log("OnTriggerEnter");
        }
Ejemplo n.º 2
0
    private void OnTriggerEnter(Collider other)
    {
        //if(!_previousCollisions.ContainsKey(other) || _previousCollisions[other] == false)
        //{
        //_previousCollisions[other] = true;

        var gameObjWrapper = GameEngineInterface.FindGameObject(other.gameObject.name);

        LogicHandler.OnCollision(this, gameObjWrapper);

        //Debug.Log("OnTriggerEnter");
        //}
    }