void OnTriggerEnter(Collider other) { var collisionName = other.name; if (collisionName.Contains("Markus") || collisionName.Contains("BrushBlade")) { if (eMotor.status != EnemyMotor.Status.FROZEN) { DeadEngine.DoDamage(); eMotor.attack(); } } }