From b653fb8a1b763a328f73c5a9d3845bb54a003bb0 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期一, 28 七月 2025 11:12:47 +0800
Subject: [PATCH] 0312 对象池管理,备份代码
---
Main/Config/Configs/EffectConfig.cs | 20 ++++++++++----------
1 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/Main/Config/Configs/EffectConfig.cs b/Main/Config/Configs/EffectConfig.cs
index 6cf5d89..69df1c6 100644
--- a/Main/Config/Configs/EffectConfig.cs
+++ b/Main/Config/Configs/EffectConfig.cs
@@ -1,6 +1,6 @@
锘�//--------------------------------------------------------
// [Author]: YYL
-// [ Date ]: Friday, June 27, 2025
+// [ Date ]: 2025骞�7鏈�22鏃�
//--------------------------------------------------------
using System.Collections.Generic;
@@ -15,13 +15,13 @@
public int id;
public string packageName;
+ public int isSpine;
public string fxName;
- public int job;
public int audio;
- public int stopImmediate;
- public int setParent;
public string nodeName;
public int notShow;
+ public int autoDestroy;
+ public float destroyDelay;
public override int LoadKey(string _key)
{
@@ -37,19 +37,19 @@
packageName = tables[1];
- fxName = tables[2];
+ int.TryParse(tables[2],out isSpine);
- int.TryParse(tables[3],out job);
+ fxName = tables[3];
int.TryParse(tables[4],out audio);
- int.TryParse(tables[5],out stopImmediate);
+ nodeName = tables[5];
- int.TryParse(tables[6],out setParent);
+ int.TryParse(tables[6],out notShow);
- nodeName = tables[7];
+ int.TryParse(tables[7],out autoDestroy);
- int.TryParse(tables[8],out notShow);
+ float.TryParse(tables[8],out destroyDelay);
}
catch (Exception exception)
{
--
Gitblit v1.8.0