Ejemplo n.º 1
0
    public override void OnInspectorGUI()
    {
        DrawDefaultInspector();


        HandController handController = (HandController)target;

        if (handController.UsePhysics)
        {
            if (GUILayout.Button("Build Physics Hand"))
            {
            }
        }


        if (GUILayout.Button("Build"))
        {
            handController.BuildHand();
        }
    }