This commit is contained in:
DESKTOP-SAJ6RKV\Administrator 2025-05-12 14:41:41 +08:00
parent 84fe75d951
commit 22d5cc4279
10 changed files with 10225 additions and 49548 deletions

View File

@ -134,8 +134,8 @@ RectTransform:
m_GameObject: {fileID: 1750256311473565841}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_LocalScale: {x: 20, y: 20, z: 20}
m_ConstrainProportionsScale: 1
m_Children:
- {fileID: 1496534327327087712}
m_Father: {fileID: 0}

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 6921758cdd2c95b4fb2f4076af67c329
guid: 5562723a1d3d93147bea26adf287097e
PrefabImporter:
externalObjects: {}
userData:

File diff suppressed because it is too large Load Diff

View File

@ -1,7 +0,0 @@
fileFormatVersion: 2
guid: 5562723a1d3d93147bea26adf287097e
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

File diff suppressed because one or more lines are too long

View File

@ -287,10 +287,11 @@ namespace GameLogic
eGo.transform.SetParent(m_rectCar.transform);
eGo.transform.localPosition = Vector3.zero;
eGo.transform.localScale = Vector3.one;
eGo.transform.GetComponent<UIParticle>().scale = giftConfig.EffectScale;
Log.Debug(giftConfig.EffectScale);
eGo.gameObject.SetActive(true);
buff.m_EffectGo = eGo;
Log.Debug(eGo.gameObject.activeInHierarchy);
Log.Debug("生成Buff特效:" + giftConfig.EffectName);
}

View File

@ -329,7 +329,7 @@ namespace GameLogic
}
Log.Debug("当前送礼礼物ID" + giftConfig.Id);
//Log.Debug("当前送礼礼物ID" + giftConfig.Id);
// 整个Buff系统看看如何重构一下部分礼物效果并不好实现
if (giftConfig.Id == 1)
@ -494,8 +494,7 @@ namespace GameLogic
eGo.transform.SetParent(item.Value.GetRect().transform);
//eGo.transform.localPosition = actor.GetRect().transform.position; // 设置到目标父节点位置
eGo.transform.position = actor.GetRect().transform.position;
eGo.transform.localScale = Vector3.one;
eGo.transform.GetComponent<UIParticle>().scale = giftConfig.EffectScale;
eGo.transform.localScale = Vector3.one * 20;
m_Buff1.m_EffectGo = eGo;
// 移动特效
@ -642,7 +641,7 @@ namespace GameLogic
}
}
Log.Debug("当前朝代id" + id);
//Log.Debug("当前朝代id" + id);
// 选出当前朝代Id
if (id != m_TeamId)

View File

@ -199,14 +199,14 @@ namespace GameLogic
/// </summary>
private void TtqEffectCreateFunc(GiftConfig giftConfig)
{
GameModule.Timer.AddTimer((e) =>
{
var m_Ego = GameModule.Resource.LoadGameObject("TTQ01");
m_Ego.transform.SetParent(this.transform);
m_Ego.transform.localPosition = Vector3.zero;
m_Ego.transform.localScale = Vector3.one;
m_Ego.transform.GetComponent<UIParticle>().scale = 1;
}, giftConfig.TimerLen);
//GameModule.Timer.AddTimer((e) =>
//{
// var m_Ego = GameModule.Resource.LoadGameObject("TTQ01");
// m_Ego.transform.SetParent(this.transform);
// m_Ego.transform.localPosition = Vector3.zero;
// m_Ego.transform.localScale = Vector3.one;
// m_Ego.transform.GetComponent<UIParticle>().scale = 1;
//}, giftConfig.TimerLen);
}
private async void AddGiftMessageFunc(UnitPlayerData unitPlayerData, GiftConfig giftConfig, int num)