This commit is contained in:
2026-06-09 15:59:11 +08:00
parent 76f0f1dc1e
commit 73ca9a4619
8 changed files with 39 additions and 30 deletions
@@ -34,7 +34,9 @@ namespace Assets.MyGame.Scripts.Net.WebResponses
public long timespan;
public int killtime;
public string msg;
public JObject param;
public int skillsGold;
public int fishScore;
public object param;
}
}
@@ -17,15 +17,15 @@ public class BJBase : MonoBehaviour
public int coinCount;
public string userID;
public int sitID;
public JObject jobj;
public object obj;
public void Init(int coin,Vector3 endPoint, string userID="", int sitID=999, JObject jobj=null)
public void Init(int coin,Vector3 endPoint, string userID="", int sitID=999, object jobj=null)
{
coinCount = coin;
this.userID = userID;
this.sitID = sitID;
this.endPoint = endPoint;
this.jobj = jobj;
this.obj = jobj;
}
public virtual void SetCoinCount()
@@ -53,7 +53,7 @@ public class FLZY_JL_Boss : MonsterControl_BossBase
if (obj.param != null)
{
LeiLongkillObj leiLongData = obj.param.ToObject<LeiLongkillObj>();
LeiLongkillObj leiLongData = obj.param as LeiLongkillObj;
if (leiLongData?.res != null)
{
if (leiLongData.res.Count > 0)
@@ -8,6 +8,10 @@ PrefabInstance:
serializedVersion: 3
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 1009748915925975, guid: d010f951e5cccd143bdfc3407b72f99d, type: 3}
propertyPath: m_IsActive
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1587425138453686, guid: d010f951e5cccd143bdfc3407b72f99d, type: 3}
propertyPath: m_Name
value: 6004_Timeline Variant
@@ -67,5 +71,29 @@ PrefabInstance:
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
m_AddedComponents: []
m_AddedComponents:
- targetCorrespondingSourceObject: {fileID: 1587425138453686, guid: d010f951e5cccd143bdfc3407b72f99d,
type: 3}
insertIndex: -1
addedObject: {fileID: 3423558555436395860}
m_SourcePrefab: {fileID: 100100000, guid: d010f951e5cccd143bdfc3407b72f99d, type: 3}
--- !u!1 &4026047422854857574 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 1587425138453686, guid: d010f951e5cccd143bdfc3407b72f99d,
type: 3}
m_PrefabInstance: {fileID: 4024748079672995792}
m_PrefabAsset: {fileID: 0}
--- !u!114 &3423558555436395860
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4026047422854857574}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: f30ac91814a8f1f46bbf291b5c75d4f8, type: 3}
m_Name:
m_EditorClassIdentifier:
playable: {fileID: 0}
bJ_BeiShu: []
@@ -46,7 +46,7 @@ public class FLZY_Boss_RYGZ : MonsterControl_BossBase
if (obj.param != null)
{
LeiLongkillObj leiLongData = obj.param.ToObject<LeiLongkillObj>();
LeiLongkillObj leiLongData = obj.param as LeiLongkillObj;
if (leiLongData?.res != null)
{
if (leiLongData.res.Count > 0)
@@ -7,7 +7,7 @@ public class RYGZDieEvent : MonoBehaviour
{
public PlayableDirector playable;
public LayeredPool layeredPool;
public List<GameObject> bJ_BeiShu;
private void Awake()
{
playable.Play();
@@ -17,25 +17,4 @@ public class RYGZDieEvent : MonoBehaviour
{
Destroy(gameObject);
}
//public void GoldEffect()
//{
// //开始加分
// BigPrize();
//}
//public List<RedPacketRecord> BigPrize(int min = 10, int max = 15)
//{
// //if (layeredPool == null)
// //{
// // layeredPool = new LayeredPool(maxScore, 1); // 初始化LayeredPool,假设5个人,10000分
// //}
// //var v = layeredPool.BossGlodCoinRandrom(tMP_Score.transform.position, min, max);
// //return v;
//}
// Update is called once per frame
void Update()
{
}
}
@@ -1681,7 +1681,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 4899283280599034, guid: 9af7049c3ad41f243aa0a4bd10e52a76, type: 3}
propertyPath: m_LocalPosition.z
value: 0
value: 200
objectReference: {fileID: 0}
- target: {fileID: 4899283280599034, guid: 9af7049c3ad41f243aa0a4bd10e52a76, type: 3}
propertyPath: m_LocalRotation.w