You can load LiveStage and LiveSheet now

This commit is contained in:
左右看
2022-09-04 09:59:21 +08:00
parent d7252c0db7
commit 10e3f51669
1039 changed files with 6166 additions and 34 deletions
@@ -0,0 +1,27 @@
using UnityEngine;
using UnityEditor;
namespace RootMotion.Dynamics {
/// <summary>
/// Converting 3D joints to ConfigurableJoints
/// </summary>
public class ConvertToConfigurableJoints: Editor {
/// <summary>
/// Converts any 3D joints on the selected Transform and it's children to ConfigurableJoints
/// </summary>
//[MenuItem ("Component/Physics/Convert to ConfigurableJoints")]
[MenuItem ("GameObject/Convert to ConfigurableJoints")]
public static void ConvertSelected() {
if (Selection.activeGameObject == null) {
Debug.Log("Please select the root of the ragdoll that you wish to convert to use ConfigurableJoints.");
return;
}
// @todo undo
JointConverter.ToConfigurable(Selection.activeGameObject);
}
}
}