先去掉动画,失败金币改回0.3

This commit is contained in:
yangjing 2022-06-03 21:16:11 +08:00
parent 4c819baae0
commit 09ae8ca835
4 changed files with 17 additions and 2 deletions

View File

@ -231,6 +231,11 @@ PrefabInstance:
m_Modification:
m_TransformParent: {fileID: 5734450118996608895}
m_Modifications:
- target: {fileID: 661471951262042482, guid: 6576d095c7ff91d4392c38de987cd343,
type: 3}
propertyPath: m_Enabled
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3594132950330721509, guid: 6576d095c7ff91d4392c38de987cd343,
type: 3}
propertyPath: m_Name

View File

@ -291,6 +291,11 @@ PrefabInstance:
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7866942072861781596, guid: bdcfa93fc105d214dbebf33599bdd682,
type: 3}
propertyPath: m_Enabled
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: bdcfa93fc105d214dbebf33599bdd682, type: 3}
--- !u!1 &3746380204141339059 stripped

View File

@ -28,7 +28,7 @@ Transform:
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 8552034085890034287}
m_RootOrder: 4
m_RootOrder: 3
m_LocalEulerAnglesHint: {x: 0, y: 180, z: 0}
--- !u!1 &2598636805368933305
GameObject:
@ -296,6 +296,11 @@ PrefabInstance:
propertyPath: m_IsActive
value: 1
objectReference: {fileID: 0}
- target: {fileID: 3679206852520171700, guid: 0d5b120cdfdcfe146a4d2c363d289588,
type: 3}
propertyPath: m_Enabled
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 0d5b120cdfdcfe146a4d2c363d289588, type: 3}
--- !u!1 &9071724216456466645 stripped

View File

@ -44,7 +44,7 @@ public class PanelResult : BasePanel
mGobLose.SetActive(!pWin);
float tLevelFactor = ((PlayerData.Instance.CurrentLevel - 1) / 20) * 0.5f + 1;
mBaseCoin = (int)(pTotalHurt * 10 * tLevelFactor * (pWin ? 1 : 0.5f));
mBaseCoin = (int)(pTotalHurt * 10 * tLevelFactor * (pWin ? 1 : 0.3f));
mIsRolling = true;
mTxtAdCoin.text = UIUtils.NumForShort(mBaseCoin);