mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-04 14:24:53 +08:00
[unity] Skin.Clear()
This commit is contained in:
parent
6756f01557
commit
f9c04584c3
@ -726,6 +726,10 @@ namespace Spine.Unity.Modules.AttachmentTools {
|
||||
return skin.Attachments.Remove(new Skin.AttachmentKeyTuple(slotIndex, keyName));
|
||||
}
|
||||
|
||||
public static void Clear (this Skin skin) {
|
||||
skin.Attachments.Clear();
|
||||
}
|
||||
|
||||
public static void Append (this Skin destination, Skin source, bool overwrite, bool cloneAttachments, bool cloneMeshesAsLinked = true) {
|
||||
source.CopyTo(destination, overwrite, cloneAttachments, cloneMeshesAsLinked);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user