summaryrefslogtreecommitdiff
path: root/Assets/Scripts/Unit/UnitDetail.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Assets/Scripts/Unit/UnitDetail.cs')
-rw-r--r--Assets/Scripts/Unit/UnitDetail.cs9
1 files changed, 6 insertions, 3 deletions
diff --git a/Assets/Scripts/Unit/UnitDetail.cs b/Assets/Scripts/Unit/UnitDetail.cs
index 3f7f23e9..09eefa51 100644
--- a/Assets/Scripts/Unit/UnitDetail.cs
+++ b/Assets/Scripts/Unit/UnitDetail.cs
@@ -125,8 +125,8 @@ public class BodyPartRenderer
public interface IBodyRendererAgent
{
- BodyPartRenderer mainRenderer { get; }
- BodyPartRenderer[] renderers{ get; }
+ BodyPartRenderer mainRenderer { get; }
+ BodyPartRenderer[] renderers { get; }
}
public interface IBodyJointAgent
@@ -142,7 +142,10 @@ public interface IBodyJointAgent
[DisallowMultipleComponent]
public class UnitDetail : MonoBehaviour, IBodyRendererAgent, IBodyJointAgent
{
- public bool showGizmos;
+ public bool showGizmos;
+
+ [FormerlySerializedAs("root")]
+ public Transform rootBone;
[Tooltip("残影用的prefab")]
public string afterImageAvatarPath;