Exemplo n.º 1
0
    void OnTriggerEnter(Collider col)
    {
        HumanLogic human = GetComponentInParent <HumanLogic>();

        human.reportCollision(col, HumanCollider.colliderNamesForGameObjectName[name]);
    }