备份CatanBuilding瘦身独立工程

This commit is contained in:
JSD\13999
2026-05-26 16:15:54 +08:00
commit 2d0e6a61b7
12001 changed files with 2431925 additions and 0 deletions

View File

@@ -0,0 +1,61 @@
using cfg;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace game
{
public class WashingGameSprayFoam : WashingGamePainting
{
#region
protected override void StartConclusion(EventWashingConclusionData data)
{
if (m_PaintTexture != null)
{
SetPaintTextureColor(Color.white, true);
}
base.StartConclusion(data);
}
#endregion
#region
protected override void InitPanel()
{
base.InitPanel();
// 关闭笔刷填充进度
panel.ResetBrushChannelCounterFillAndInverse(false, true);
this.StartCoroutine(StartCountingFill());
}
private IEnumerator StartCountingFill()
{
int index = 0;
while (index < 10)
{
yield return null;
index++;
}
panel.StartCountingFill();
}
#endregion
#region
public override void InitGame(string name)
{
base.InitGame(name);
this.m_GameType = EventWashingOperation.Foaming;
}
public override void Fresh(EventWashingDataManager dataManager)
{
SetPaintTextureColor(new Color(1f, 1f, 1f, 0f));
ChangePaintSphereBlendModeToAdditiveSoft();
m_PainterColor = Color.white;
base.Fresh(dataManager);
if (m_PaintTexture != null) m_PaintTexture.gameObject.SetActive(true);
}
#endregion
}
}