公会副本调整 红点判断

dev_chengFeng
zhangqiang 2020-08-22 21:43:58 +08:00
parent cf0747566b
commit 35899a49a4
2 changed files with 23 additions and 24 deletions

View File

@ -1900,10 +1900,10 @@ MonoBehaviour:
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
m_FontData:
m_Font: {fileID: 12800000, guid: 6fa15837529b0e640af6620b07d3207d, type: 3}
m_FontSize: 35
m_FontSize: 30
m_FontStyle: 0
m_BestFit: 0
m_MinSize: 10
m_MinSize: 3
m_MaxSize: 51
m_Alignment: 4
m_AlignByGeometry: 0
@ -4907,7 +4907,7 @@ GameObject:
serializedVersion: 6
m_Component:
- component: {fileID: 8772249490538658675}
- component: {fileID: 8772249490538658674}
- component: {fileID: 6453296698771621430}
m_Layer: 5
m_Name: reward2
m_TagString: Untagged
@ -4931,10 +4931,10 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 17.600021, y: -106.950005}
m_AnchoredPosition: {x: 20, y: -123}
m_SizeDelta: {x: 243.6, y: 108.1}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &8772249490538658674
--- !u!114 &6453296698771621430
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
@ -4943,21 +4943,20 @@ MonoBehaviour:
m_GameObject: {fileID: 8772249490538658676}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: -2095666955, guid: f70555f144d8491a825f0804e09c671c, type: 3}
m_Script: {fileID: -405508275, guid: f70555f144d8491a825f0804e09c671c, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Padding:
m_Left: 0
m_Right: 0
m_Top: 13
m_Top: 0
m_Bottom: 0
m_ChildAlignment: 4
m_StartCorner: 0
m_StartAxis: 0
m_CellSize: {x: 80, y: 80}
m_Spacing: {x: 31.12, y: 0}
m_Constraint: 0
m_ConstraintCount: 2
m_Spacing: -20.83
m_ChildForceExpandWidth: 1
m_ChildForceExpandHeight: 1
m_ChildControlWidth: 0
m_ChildControlHeight: 0
--- !u!1 &8772249490571615143
GameObject:
m_ObjectHideFlags: 0
@ -5156,7 +5155,7 @@ GameObject:
serializedVersion: 6
m_Component:
- component: {fileID: 8772249490651225639}
- component: {fileID: 8772249490651225638}
- component: {fileID: 5647365335010519741}
m_Layer: 5
m_Name: reward1
m_TagString: Untagged
@ -5180,10 +5179,10 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 17.6, y: 39.6}
m_AnchoredPosition: {x: 20, y: 23}
m_SizeDelta: {x: 236.4, y: 104.9}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &8772249490651225638
--- !u!114 &5647365335010519741
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
@ -5192,21 +5191,20 @@ MonoBehaviour:
m_GameObject: {fileID: 8772249490651225656}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: -2095666955, guid: f70555f144d8491a825f0804e09c671c, type: 3}
m_Script: {fileID: -405508275, guid: f70555f144d8491a825f0804e09c671c, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Padding:
m_Left: 0
m_Right: 0
m_Top: 13
m_Top: 0
m_Bottom: 0
m_ChildAlignment: 4
m_StartCorner: 0
m_StartAxis: 0
m_CellSize: {x: 80, y: 80}
m_Spacing: {x: 31.12, y: 0}
m_Constraint: 0
m_ConstraintCount: 2
m_Spacing: -20.83
m_ChildForceExpandWidth: 1
m_ChildForceExpandHeight: 1
m_ChildControlWidth: 0
m_ChildControlHeight: 0
--- !u!1 &8772249490727969351
GameObject:
m_ObjectHideFlags: 0

View File

@ -127,6 +127,7 @@ function this.GetCanBuyBattleCount()
return PrivilegeManager.GetPrivilegeRemainValue(PRIVILEGE_TYPE.GUILDTRANSCRIPT_BUY_BATTLENUM)
end
function this.GetRedPointState()
if PlayerManager.familyId == 0 then return false end
return PrivilegeManager.GetPrivilegeRemainValue(PRIVILEGE_TYPE.GUILDTRANSCRIPT_BATTLENUM) > 0
end
function this.GetCurBoss()