소스 검색

[unity] Minor cleanup: removed two comments mentioning methods that no longer exist after 4.0 API cleanup.

Harald Csaszar 4 년 전
부모
커밋
dbec33e556
2개의 변경된 파일0개의 추가작업 그리고 2개의 파일을 삭제
  1. 0 1
      spine-unity/Assets/Spine Examples/Scripts/MixAndMatch.cs
  2. 0 1
      spine-unity/Assets/Spine Examples/Scripts/MixAndMatchGraphic.cs

+ 0 - 1
spine-unity/Assets/Spine Examples/Scripts/MixAndMatch.cs

@@ -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

+ 0 - 1
spine-unity/Assets/Spine Examples/Scripts/MixAndMatchGraphic.cs

@@ -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);