public override bool IsHit(Collider collider) { StageObject target = GetTarget(); if (m_isIgnoreColliderExceptTarget && target != null && target.get_name() != collider.get_name()) { return(false); } return(true); }