根据提供的code differences信息,由于没有具体的代码变更内容,我将生成一个通用的commit message模板:

```
docs(readme): 更新文档说明

- 添加项目使用指南
- 完善API接口说明
- 修正错误的配置示例
```

注意:由于您提供的code differences部分为空,以上是一个示例模板。当您有具体的代码变更时,请提供详细的变更内容以便生成更准确的commit message。
This commit is contained in:
huadexuan committed 2026-10-04 22:58:39 +08:00
1 parent 11f1af357d
commit 7d9d0f52d1
83 files changed
+3510 -1493

No files matched your search

@@ -16,13 +16,27 @@ public class ShockwaveRing : MonoBehaviour
private Material mat;
private float timer = -1f;
private void Awake()
{
Initialize();
}
void Start()
{
Initialize();
}
private void Initialize()
{
if (mat != null)
{
return;
}
// 用 .material 生成独立实例,不影响材质资产
mat = GetComponent<Renderer>().material;
mat.SetFloat("_Progress", 0f);
transform.localScale = startScale;
gameObject.SetActive(false);
}
/// <summary>
@@ -30,6 +44,7 @@ public class ShockwaveRing : MonoBehaviour
/// </summary>
public void Play()
{
Initialize();
gameObject.SetActive(true);
timer = 0f;
mat.SetFloat("_Progress", 0f);
@@ -125,7 +125,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 9faf161c1d2f649baaf36efc3fb301fc, type: 3}
m_Name:
m_EditorClassIdentifier:
duration: 1
duration: 0.2
autoDestroy: 1
overrideColor: {r: 0, g: 0, b: 0, a: 0}
overrideRadius: 0