public static void QuickSave(DynamicBoneConfiguration config, string path) { var assetData = CreateInstance <DynamicBoneQSaveData>(); assetData.Parse(config); AssetDatabase.CreateAsset(assetData, path); }
public void Parse(DynamicBoneConfiguration configuration) { Bones = configuration.DynamicBones.ToArray(); Colliders = configuration.DynamicBoneColliders.ToArray(); }