protected override void ComponentLogic(Animator component)
        {
            var isPartOfOfficialAsset = ignoredPrefabDetector.IsTargetObject(component);
            var serializedObject      = new SerializedObject(component);

            var applyRootMotion = serializedObject.FindProperty("m_ApplyRootMotion");

            if (IsValueToPointOut(
                    applyRootMotion.boolValue,
                    applyRootMotion.prefabOverride,
                    isPartOfOfficialAsset))
            {
                AddIssue(new Issue(
                             component,
                             IssueLevel.Error,
                             LocalizedMessage.Get("AnimatorComponentRule.ShouldNotUseApplyRootMotion"),
                             LocalizedMessage.Get("AnimatorComponentRule.ShouldNotUseApplyRootMotion.Solution")
                             ));
            }

            var cullingMode = serializedObject.FindProperty("m_CullingMode");

            if (IsValueToPointOut(
                    cullingMode.enumValueIndex == (int)AnimatorCullingMode.AlwaysAnimate,
                    cullingMode.prefabOverride,
                    isPartOfOfficialAsset))
            {
                AddIssue(new Issue(
                             component,
                             IssueLevel.Warning,
                             LocalizedMessage.Get("AnimatorComponentRule.ShouldNotUseAlwaysAnimate")
                             ));
            }
        }
        protected override void ComponentLogic(Animation component)
        {
            var isOfficialAssetPart = ignoredPrefabDetector.IsTargetObject(component);
            var serializedObject    = new SerializedObject(component);

            var cullingType = serializedObject.FindProperty("m_CullingType");

            if (IsValueToPointOut(
                    cullingType.enumValueIndex == (int)AnimationCullingType.AlwaysAnimate,
                    cullingType.prefabOverride,
                    isOfficialAssetPart))
            {
                AddIssue(new Issue(
                             component,
                             IssueLevel.Warning,
                             LocalizedMessage.Get("AnimationComponentRule.ShouldNotUseAlwaysAnimate")
                             ));
            }
        }