ui基本完毕,修了一大把的bug

This commit is contained in:
2026-07-13 02:28:39 +08:00
parent 1e20d73e90
commit fd22501f71
958 changed files with 378289 additions and 41038 deletions
@@ -0,0 +1,25 @@
using System;
using UnityEngine;
[Serializable]
/// <summary>
/// Options for prefracturing a mesh
/// </summary>
public class PrefractureOptions
{
[Tooltip("For prefractured objects, if this property is enabled, the all fragments will unfreeze if a single fragment is interacted with.")]
public bool unfreezeAll;
[Tooltip("Saves the fragment meshes to disk. Required if the fragments will be used in a prefab.")]
public bool saveFragmentsToDisk;
[Tooltip("Path to save the fragments to if saveToDisk is enabled. Relative to the project directory.")]
public string saveLocation;
public PrefractureOptions()
{
this.unfreezeAll = true;
this.saveFragmentsToDisk = false;
this.saveLocation = "";
}
}