Пример #1
0
    void OnTriggerEnter(Collider other)
    {
        //DebugWide.LogBool (_tPcs.name.Equals("Character"),"head - " + _tPcs.name + " - trigger Enter : " +  other.tag + "  " + other.name);

        _tPcs.SetMyColliderKind(eColliderKind.Body);
        _tPcs.SetOppColliderKind(other);
    }
Пример #2
0
    void OnTriggerEnter(Collider other)
    {
        //DebugWide.LogBool (_tPcs.name.Equals("Character"),"sword - " + _tPcs.name + " - trigger Enter : " +  other.tag + "  " + other.name);

        _tPcs.SetMyColliderKind(eColliderKind.Weapon);
        _tPcs.SetOppColliderKind(other);
        //_tPcs.OnEnter (other , this.transform);
    }