コード例 #1
0
    void OnTriggerEnter(Collider thisColl)
    {
        if (thisColl.tag == Constants._PlayerTag)
        {
            if (GetAbs.gameObject.gameObject.tag != Constants._UnTagg)
            {
                GetAbs.PlayerDetected(thisColl.gameObject, true);
            }
        }

        /*else if ( thisColl.tag == Constants._DebrisEnv )
         * {
         *      GetAbs.debrisDetected ( thisColl.gameObject.GetComponent<Collider> ( ) );
         * }*/
    }