| | |
| | | { |
| | | expectTime = timer; |
| | | Debug.LogFormat("{0}执行时长:{1};", this.GetType().Name, timer); |
| | | |
| | | OperationLogCollect.Instance.RecordLauchEvent(16); |
| | | // TODO YYL |
| | | // OperationLogCollect.Instance.RecordLauchEvent(3); |
| | | // OperationLogCollect.Instance.RecordEvent(3); |
| | |
| | | if (newContent != fileContent) |
| | | { |
| | | File.WriteAllText(filePath, newContent); |
| | | Debug.LogError("战斗公式有变更 FightPowerFormula.cs 已根据配置公式重新生成, 请提交代码!"); |
| | | } |
| | | else |
| | | { |
| | | Debug.Log("FightPowerFormula.cs 内容未变化,无需重新生成"); |
| | | Debug.LogError("战斗公式有变更 FightPowerFormula.cs 需程序检查代码同步公式!"); |
| | | } |
| | | |
| | | #endif |