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

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.