Пример #1
0
 bool IsAttackCollider(TriggerParam param)
 {
     return(param.source.name == attackCollider.name);
 }
Пример #2
0
 bool IsPlayer(TriggerParam param)
 {
     return(param.collider.tag == "Player");
 }