mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +08:00
Fixed TK2D type name
This commit is contained in:
parent
a8bcb47206
commit
fab469dbf3
9
spine-unity/Assets/spine-unity/Modules/TK2D.meta
Normal file
9
spine-unity/Assets/spine-unity/Modules/TK2D.meta
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: e70d3026a0242e5418232b2015be29f7
|
||||||
|
folderAsset: yes
|
||||||
|
timeCreated: 1456509301
|
||||||
|
licenseType: Free
|
||||||
|
DefaultImporter:
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@ -138,10 +138,10 @@ public class SpriteCollectionAttachmentLoader : AttachmentLoader {
|
|||||||
return mesh;
|
return mesh;
|
||||||
}
|
}
|
||||||
|
|
||||||
public SkinnedMeshAttachment NewSkinnedMeshAttachment (Skin skin, String name, String path) {
|
public WeightedMeshAttachment NewWeightedMeshAttachment (Skin skin, String name, String path) {
|
||||||
ProcessSpriteDefinition(path);
|
ProcessSpriteDefinition(path);
|
||||||
|
|
||||||
SkinnedMeshAttachment mesh = new SkinnedMeshAttachment(name);
|
WeightedMeshAttachment mesh = new WeightedMeshAttachment(name);
|
||||||
mesh.Path = path;
|
mesh.Path = path;
|
||||||
mesh.RendererObject = material;
|
mesh.RendererObject = material;
|
||||||
mesh.RegionU = u;
|
mesh.RegionU = u;
|
||||||
Loading…
x
Reference in New Issue
Block a user