mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-08 00:04:54 +08:00
[unity] Minor cleanup: removed two comments mentioning methods that no longer exist after 4.0 API cleanup.
This commit is contained in:
parent
de697385fc
commit
dbec33e556
@ -82,7 +82,6 @@ namespace Spine.Unity.Examples {
|
||||
// STEP 0: PREPARE SKINS
|
||||
// Let's prepare a new skin to be our custom skin with equips/customizations. We get a clone so our original skins are unaffected.
|
||||
customSkin = customSkin ?? new Skin("custom skin"); // This requires that all customizations are done with skin placeholders defined in Spine.
|
||||
//customSkin = customSkin ?? skeleton.UnshareSkin(true, false, skeletonAnimation.AnimationState); // use this if you are not customizing on the default skin.
|
||||
var templateSkin = skeleton.Data.FindSkin(templateAttachmentsSkin);
|
||||
|
||||
// STEP 1: "EQUIP" ITEMS USING SPRITES
|
||||
|
||||
@ -82,7 +82,6 @@ namespace Spine.Unity.Examples {
|
||||
// STEP 0: PREPARE SKINS
|
||||
// Let's prepare a new skin to be our custom skin with equips/customizations. We get a clone so our original skins are unaffected.
|
||||
customSkin = customSkin ?? new Skin("custom skin"); // This requires that all customizations are done with skin placeholders defined in Spine.
|
||||
//customSkin = customSkin ?? skeleton.UnshareSkin(true, false, skeletonAnimation.AnimationState); // use this if you are not customizing on the default skin and don't plan to remove
|
||||
// Next let's get the skin that contains our source attachments. These are the attachments that
|
||||
var baseSkin = skeleton.Data.FindSkin(baseSkinName);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user