Nim-XD ebf6fdbbab first commit 1 2 周之前
..
Animations 2ce1d098b6 initial commit 4 周之前
Materials ebf6fdbbab first commit 1 2 周之前
Models 2ce1d098b6 initial commit 4 周之前
Scenes 2ce1d098b6 initial commit 4 周之前
Scripts 2ce1d098b6 initial commit 4 周之前
Textures 2ce1d098b6 initial commit 4 周之前
Animations.meta 2ce1d098b6 initial commit 4 周之前
Materials.meta 2ce1d098b6 initial commit 4 周之前
Models.meta 2ce1d098b6 initial commit 4 周之前
Prefabs.meta 2ce1d098b6 initial commit 4 周之前
Readme.txt 2ce1d098b6 initial commit 4 周之前
Readme.txt.meta 2ce1d098b6 initial commit 4 周之前
Scenes.meta 2ce1d098b6 initial commit 4 周之前
Scripts.meta 2ce1d098b6 initial commit 4 周之前
Textures.meta 2ce1d098b6 initial commit 4 周之前

Readme.txt

Bone name for right hand weapon - "weapon_end"
Bone name for left hand weapon or shield - "shield_end"

Package contains 2 helper scripts "EquipmentAttachmentHelper" and "WeaponAttachmentHelper".

EquipmentAttachmentHelper - required for binding of modular armour piece to skeleton bones.
Component must be added to the object with armour SkinnedMeshRenderer in scene. See example on 'SkeletonWarrior_OneHandAxeAndShield' prefab.
EquipmentAttachmentHelper.skinnedMeshSource - is reference to the armour piece from the source asset. Will be loaded automatically if component attached to object with SkinnedMeshRenderer of armour in scene.
EquipmentAttachmentHelper.thisSkinnedMesh - is reference to the SkinnedMeshRenderer of the armour in scene. Will be assigned automatically if component attached to object with SkinnedMeshRenderer of armour in scene.

WeaponAttachmentHelper - required for easing of switching of weapon, must be added to the root of the prefab. See example on 'SkeletonWarrior_OneHandAxeAndShield' prefab.
One thing must be noted, deletion of object that part of prefab instance in scene is not allowed in edit mode, it is means that 'WeaponAttachmentHelper' only works in play mode or in prefab edit mode.