Example #1
0
 private void InspectJointValue(JointValue objective)
 {
     SetGUIColor(Color1);
     objective.SetTargetValue(EditorGUILayout.DoubleField("Target Value", objective.GetTargetValue()));
     SetGUIColor(Color1);
     objective.SetXMotion(EditorGUILayout.Toggle("X Motion", objective.IsXMotion()));
     SetGUIColor(Color1);
     objective.SetYMotion(EditorGUILayout.Toggle("Y Motion", objective.IsYMotion()));
     SetGUIColor(Color1);
     objective.SetZMotion(EditorGUILayout.Toggle("Z Motion", objective.IsZMotion()));
 }
Example #2
0
 private void DrawJointValue(JointValue objective)
 {
 }