Просмотр исходного кода

[unity] Fix warning case in examples.

pharan 6 лет назад
Родитель
Сommit
3b92f7cb79
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      spine-unity/Assets/Spine Examples/Scripts/SpineboyFootplanter.cs

+ 2 - 2
spine-unity/Assets/Spine Examples/Scripts/SpineboyFootplanter.cs

@@ -1,4 +1,4 @@
-using System.Collections;
+using System.Collections;
 using System.Collections.Generic;
 using UnityEngine;
 
@@ -27,7 +27,7 @@ namespace Spine.Unity.Examples {
 		[Header("Debug")]
 		[SerializeField] float balance;
 		[SerializeField] float distanceBetweenFeet;
-		[SerializeField] Foot nearFoot, farFoot;
+		[SerializeField] protected Foot nearFoot, farFoot;
 
 		Skeleton skeleton;
 		Bone nearFootBone, farFootBone;