Nim-XD ebf6fdbbab first commit 1 há 2 semanas atrás
..
Animations 2ce1d098b6 initial commit há 4 semanas atrás
Materials ebf6fdbbab first commit 1 há 2 semanas atrás
Models 2ce1d098b6 initial commit há 4 semanas atrás
Scenes 2ce1d098b6 initial commit há 4 semanas atrás
Scripts 2ce1d098b6 initial commit há 4 semanas atrás
Textures 2ce1d098b6 initial commit há 4 semanas atrás
Animations.meta 2ce1d098b6 initial commit há 4 semanas atrás
Materials.meta 2ce1d098b6 initial commit há 4 semanas atrás
Models.meta 2ce1d098b6 initial commit há 4 semanas atrás
Prefabs.meta 2ce1d098b6 initial commit há 4 semanas atrás
Readme.txt 2ce1d098b6 initial commit há 4 semanas atrás
Readme.txt.meta 2ce1d098b6 initial commit há 4 semanas atrás
Scenes.meta 2ce1d098b6 initial commit há 4 semanas atrás
Scripts.meta 2ce1d098b6 initial commit há 4 semanas atrás
Textures.meta 2ce1d098b6 initial commit há 4 semanas atrás

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.