{ //格挡期间材质动画管理 "AbilityName": "Ben_MaterialProperty", "AbilityStacking": "Unique", "AbilityMixins": [ { "$type": "MoleMole.AttachStateWithModifierMixin", "ConfigList": [ { "AnimatorStateName": "Attack_Branch_01_TracingStart", "LayerIndex": 0, "Target": "Self", "NormalizedTimeLow": 0.875, "NormalizedTimeHigh": 1.0, "ModifierNameList": [ "BlockMaterialModifier" ] }, { "AnimatorStateName": "Attack_Branch_01_Start", "LayerIndex": 0, "Target": "Self", "NormalizedTimeLow": 0.875, "NormalizedTimeHigh": 1.0, "ModifierNameList": [ "BlockMaterialModifier" ] }, { "AnimatorStateName": "Attack_Branch_02_TracingStart", "LayerIndex": 0, "Target": "Self", "NormalizedTimeLow": 0.875, "NormalizedTimeHigh": 1.0, "ModifierNameList": [ "Block02MaterialModifier" ] }, { "AnimatorStateName": "Attack_Branch_02_Start", "LayerIndex": 0, "Target": "Self", "NormalizedTimeLow": 0.875, "NormalizedTimeHigh": 1.0, "ModifierNameList": [ "Block02MaterialModifier" ] }, { "AnimatorStateName": "Attack_Branch_01_Loop_01", "LayerIndex": 0, "Target": "Self", "NormalizedTimeLow": 0.0, "NormalizedTimeHigh": 1.0, "ModifierNameList": [ "BlockMaterialModifier" ] }, { "AnimatorStateName": "Attack_Branch_01_Loop_02", "LayerIndex": 0, "Target": "Self", "NormalizedTimeLow": 0.0, "NormalizedTimeHigh": 1.0, "ModifierNameList": [ "BlockMaterialModifier" ] }, { "AnimatorStateName": "Attack_Branch_02_Loop_01", "LayerIndex": 0, "Target": "Self", "NormalizedTimeLow": 0.0, "NormalizedTimeHigh": 1.0, "ModifierNameList": [ "Block02MaterialModifier" ] }, { "AnimatorStateName": "Attack_Branch_02_Loop_02", "LayerIndex": 0, "Target": "Self", "NormalizedTimeLow": 0.0, "NormalizedTimeHigh": 1.0, "ModifierNameList": [ "Block02MaterialModifier" ] }, { "AnimatorStateName": "Attack_Branch_02_Loop_03", "LayerIndex": 0, "Target": "Self", "NormalizedTimeLow": 0.0, "NormalizedTimeHigh": 1.0, "ModifierNameList": [ "Block02MaterialModifier" ] }, { "AnimatorStateName": "Attack_Branch_02_Loop_04", "LayerIndex": 0, "Target": "Self", "NormalizedTimeLow": 0.0, "NormalizedTimeHigh": 1.0, "ModifierNameList": [ "Block02MaterialModifier" ] } ] } ], "Modifiers" : { //Sp格挡期间材质动画 "BlockMaterialModifier" : { "ModifierStacking": "Unique", "Duration" : -1, "IgnoreTimeScale" : false, "OnAdded": [ //添加ShaderMatCap { "$type" : "MoleMole.ApplyMatCapAction", "MatCapKey" : "Avatar_Male_Size03_Ben_Ani_Attack_Branch_01", "Target" : "Self" }, //添加材质动画 { "$type" : "MoleMole.ModifyMaterialPropertyAction", "Target" : "Self", "Tag" : "Ben_Block", "ApplyAllRenderers" : true, // "RendererList" : // [ // { // "RenderPath" : "Aokaku_Mask", // "ApplyAllMaterials" : true, // }, // ], "key" : "Avatar_Male_Size03_Ben_Attack_Branch_Block_Outline_MA", } ], "OnRemoved" : [ //移除ShaderMatCap { "$type" : "MoleMole.RemoveMatCapAction", "MatCapKey" : "Avatar_Male_Size03_Ben_Ani_Attack_Branch_01", "Target" : "Self" }, //移除材质动画 { "$type" : "MoleMole.RemoveMaterialPropertyAction", "Tag" : "Ben_Block", "Target" : "Self" } ] }, //Exsp格挡期间材质动画 "Block02MaterialModifier" : { "ModifierStacking": "Unique", "Duration" : -1, "IgnoreTimeScale" : false, "OnAdded": [ //添加ShaderMatCap { "$type" : "MoleMole.ApplyMatCapAction", "MatCapKey" : "Avatar_Male_Size03_Ben_Ani_Attack_Branch_02", "Target" : "Self" }, //添加材质动画 { "$type" : "MoleMole.ModifyMaterialPropertyAction", "Target" : "Self", "Tag" : "Ben_Block", "ApplyAllRenderers" : true, // "RendererList" : // [ // { // "RenderPath" : "Aokaku_Mask", // "ApplyAllMaterials" : true, // }, // ], "key" : "Avatar_Male_Size03_Ben_Attack_Branch_Block02_Outline_MA", } ], "OnRemoved" : [ //移除ShaderMatCap { "$type" : "MoleMole.RemoveMatCapAction", "MatCapKey" : "Avatar_Male_Size03_Ben_Ani_Attack_Branch_02", "Target" : "Self" }, //移除材质动画 { "$type" : "MoleMole.RemoveMaterialPropertyAction", "Tag" : "Ben_Block", "Target" : "Self" } ] } } }