public static string BuildCollisionSetupString(GameObject colliderRoot)
        {
            var builder = new CSVBuilder();

            AppendColliders(builder, colliderRoot);
            AppendDynamicsNulls(builder, colliderRoot);
            return(builder.ToString());
        }
예제 #2
0
        private static string BuildSpringBoneSetupString(GameObject rootObject)
        {
            var builder     = new CSVBuilder();
            var springBones = rootObject.GetComponentsInChildren <SpringBone>(true);

            AppendSpringBones(builder, springBones);
            AppendPivots(builder, springBones);
            return(builder.ToString());
        }