From 03948b8b014b5f5a485036028e32bd33214d131a Mon Sep 17 00:00:00 2001 From: Pascal Serrarens Date: Fri, 3 Jun 2022 15:35:19 +0200 Subject: [PATCH] Update Documentation --- .../Scripts/Extensions/ArmSensor.cs | 20 +++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/Runtime/HumanoidControl/Scripts/Extensions/ArmSensor.cs b/Runtime/HumanoidControl/Scripts/Extensions/ArmSensor.cs index 74b099d..4c9c617 100644 --- a/Runtime/HumanoidControl/Scripts/Extensions/ArmSensor.cs +++ b/Runtime/HumanoidControl/Scripts/Extensions/ArmSensor.cs @@ -7,16 +7,28 @@ namespace Passer.Humanoid { using Passer.Tracking; using Passer.Humanoid.Tracking; + /// + /// An sensors used on the arm of a Humanoid + /// public class ArmSensor : HumanoidSensor { - protected HandTarget handTarget { - get { return target as HandTarget; } - } + /// + /// The HandTarget for this sensor + /// + protected HandTarget handTarget => target as HandTarget; + /// + /// The \ref HumanoidControl "Humanoid" for this sensor + /// protected HumanoidControl humanoid => handTarget.humanoid; + /// + /// The sensor used for this arm + /// public SensorComponent sensorComponent; - //protected new Tracking.ArmSensor sensor; + /// + /// The skeleton for the hand + /// public HandSkeleton handSkeleton; #region Manage