UpdateHumanPawnMeshComponent

Tracking Issue: #216

Tags: customization, pawns

Adds a DLC hook to update a given human pawn mesh component's materials.

static function UpdateHumanPawnMeshComponent(XComGameState_Unit UnitState, XComHumanPawn Pawn, MeshComponent MeshComp);

This can be used to apply custom materials to meshes, or set custom parameters. If not overridden, this calls UpdateHumanPawnMeshMaterial for every MaterialInstanceConstant. Call super.UpdateHumanPawnMeshComponent(UnitState, Pawn, MeshComp); if you rely on both hooks.

Source code references