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,27 @@
using System;
using System.Collections.Generic;
using UnityEngine;
[Serializable]
/// <summary>
/// Options for refracturing
/// </summary>
public class RefractureOptions
{
[Tooltip("Enables refracturing of fragments. WARNING: This setting can result in a significant amount of generated fragments. It is recommended to keep FragmentCount low if this is enabled.")]
public bool enableRefracturing;
[Tooltip("Maximum number of times a fragment can be re-fractured.")]
[Range(1, 3)]
public int maxRefractureCount;
[Tooltip("Enable if refracturing should also invoke the callback functions.")]
public bool invokeCallbacks;
public RefractureOptions()
{
this.enableRefracturing = false;
this.maxRefractureCount = 1;
this.invokeCallbacks = false;
}
}