summaryrefslogtreecommitdiff
path: root/Assets/Scripts/Unit/UnitDetail.cs
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2021-09-20 00:42:33 +0800
committerchai <chaifix@163.com>2021-09-20 00:42:33 +0800
commit02b44c07adfcf921da594120b4cd8fc18b982725 (patch)
tree723e001ed8c5f7c39419cc4a50a3202a0cf59961 /Assets/Scripts/Unit/UnitDetail.cs
parentd4581317f904b870c482a3274e7cc47d1732a673 (diff)
+command buffer
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;