浏览代码

[unity] Fix warning case in examples.

pharan 6 年之前
父节点
当前提交
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 System.Collections.Generic;
 using UnityEngine;
 using UnityEngine;
 
 
@@ -27,7 +27,7 @@ namespace Spine.Unity.Examples {
 		[Header("Debug")]
 		[Header("Debug")]
 		[SerializeField] float balance;
 		[SerializeField] float balance;
 		[SerializeField] float distanceBetweenFeet;
 		[SerializeField] float distanceBetweenFeet;
-		[SerializeField] Foot nearFoot, farFoot;
+		[SerializeField] protected Foot nearFoot, farFoot;
 
 
 		Skeleton skeleton;
 		Skeleton skeleton;
 		Bone nearFootBone, farFootBone;
 		Bone nearFootBone, farFootBone;