...
This commit is contained in:
parent
256a470382
commit
3c1486b406
File diff suppressed because one or more lines are too long
Binary file not shown.
|
|
@ -11354,8 +11354,8 @@ MonoBehaviour:
|
|||
m_faceColor:
|
||||
serializedVersion: 2
|
||||
rgba: 4294967295
|
||||
m_fontSize: 20
|
||||
m_fontSizeBase: 20
|
||||
m_fontSize: 35
|
||||
m_fontSizeBase: 35
|
||||
m_fontWeight: 400
|
||||
m_enableAutoSizing: 0
|
||||
m_fontSizeMin: 10
|
||||
|
|
@ -12925,7 +12925,7 @@ RectTransform:
|
|||
m_AnchorMin: {x: 0, y: 0.5}
|
||||
m_AnchorMax: {x: 1, y: 0.5}
|
||||
m_AnchoredPosition: {x: 0, y: 0}
|
||||
m_SizeDelta: {x: 0, y: 64}
|
||||
m_SizeDelta: {x: 0, y: 100}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &5858977099955060994
|
||||
CanvasRenderer:
|
||||
|
|
|
|||
|
|
@ -68248,7 +68248,7 @@ GameObject:
|
|||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 0
|
||||
m_IsActive: 1
|
||||
--- !u!224 &8460797171243959167
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
|
|
@ -146009,7 +146009,7 @@ PrefabInstance:
|
|||
- target: {fileID: 8170153791668043269, guid: 0d230cc8be529a542a08cb878ab14b18,
|
||||
type: 3}
|
||||
propertyPath: m_IsActive
|
||||
value: 0
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
m_RemovedComponents: []
|
||||
m_RemovedGameObjects: []
|
||||
|
|
|
|||
|
|
@ -1,5 +1,3 @@
|
|||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using TMPro;
|
||||
using UnityEngine;
|
||||
|
||||
|
|
|
|||
|
|
@ -36,7 +36,13 @@ public class PCAbilityUI : PCUIMenu
|
|||
ResetUI.Ins.Set(table_localtext.Ins.Get_Text(237) , 1, 100, () =>
|
||||
{
|
||||
var sdata = ServerInfo.Ins.m_ServerData;
|
||||
if (sdata.CanInitAbility(CurType) && sdata.Check_ItemAmount(1, 100))
|
||||
if (!sdata.CanInitAbility(CurType))
|
||||
{
|
||||
ToastUI.Ins.Set(999900036);
|
||||
return;
|
||||
}
|
||||
|
||||
if (sdata.Check_ItemAmount(1, 100))
|
||||
{
|
||||
ServerInfo.Ins.Save_PC_AbilityInit(CurType, () =>
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue