示例#1
0
        // remove rigidbodies by transforms
        public static void RemoveSkeletonRigidBodies(Transform root, string prefix)
        {
            int counter = NSH.RemoveBonesComponentsTransform <Rigidbody>(root, prefix, null);

            Debug.Log(string.Format("[NeuronUtilities] {0} Rigidbodies removed from {1}.", counter, root.name), root);
        }
示例#2
0
        public static void RemoveSkeletonBoneLines(Transform root, string prefix)
        {
            int counter = NSH.RemoveBonesComponentsTransform <BoneLine>(root, prefix, delegate_remove_bone_line_tranform);

            Debug.Log(string.Format("[NeuronUtilities] {0} Bone lines removed from {1}.", counter, root.name), root);
        }