大量注文達成可能バッジView追加
This commit is contained in:
parent
1d0afc1a87
commit
0a7d7701aa
|
|
@ -369,6 +369,7 @@ MonoBehaviour:
|
||||||
indicatorAnimator: {fileID: 8309988580877545720}
|
indicatorAnimator: {fileID: 8309988580877545720}
|
||||||
titleObject: {fileID: 6630966004704031400}
|
titleObject: {fileID: 6630966004704031400}
|
||||||
balloonObject: {fileID: 1129648163941645728}
|
balloonObject: {fileID: 1129648163941645728}
|
||||||
|
completedBadgeObject: {fileID: 659548414025622818}
|
||||||
--- !u!1 &6630966004704031400
|
--- !u!1 &6630966004704031400
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
|
@ -597,6 +598,12 @@ PrefabInstance:
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
m_RemovedComponents: []
|
m_RemovedComponents: []
|
||||||
m_SourcePrefab: {fileID: 100100000, guid: f8587bb162250fa48947d648e934781e, type: 3}
|
m_SourcePrefab: {fileID: 100100000, guid: f8587bb162250fa48947d648e934781e, type: 3}
|
||||||
|
--- !u!1 &659548414025622818 stripped
|
||||||
|
GameObject:
|
||||||
|
m_CorrespondingSourceObject: {fileID: 9056949049436837036, guid: f8587bb162250fa48947d648e934781e,
|
||||||
|
type: 3}
|
||||||
|
m_PrefabInstance: {fileID: 8401342945157312910}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
--- !u!224 &323767120578515127 stripped
|
--- !u!224 &323767120578515127 stripped
|
||||||
RectTransform:
|
RectTransform:
|
||||||
m_CorrespondingSourceObject: {fileID: 8136263580696535353, guid: f8587bb162250fa48947d648e934781e,
|
m_CorrespondingSourceObject: {fileID: 8136263580696535353, guid: f8587bb162250fa48947d648e934781e,
|
||||||
|
|
|
||||||
|
|
@ -10,6 +10,7 @@ public class BulkOrderIndicatorView : MonoBehaviour
|
||||||
[SerializeField] private Animator indicatorAnimator;
|
[SerializeField] private Animator indicatorAnimator;
|
||||||
[SerializeField] private GameObject titleObject;
|
[SerializeField] private GameObject titleObject;
|
||||||
[SerializeField] private GameObject balloonObject;
|
[SerializeField] private GameObject balloonObject;
|
||||||
|
[SerializeField] private GameObject completedBadgeObject;
|
||||||
|
|
||||||
private static readonly int Ring = Animator.StringToHash("Ring");
|
private static readonly int Ring = Animator.StringToHash("Ring");
|
||||||
private static readonly int Wait = Animator.StringToHash("Wait");
|
private static readonly int Wait = Animator.StringToHash("Wait");
|
||||||
|
|
@ -32,4 +33,9 @@ public class BulkOrderIndicatorView : MonoBehaviour
|
||||||
titleObject.SetActive(!receive && !achieved);
|
titleObject.SetActive(!receive && !achieved);
|
||||||
balloonObject.SetActive(receive);
|
balloonObject.SetActive(receive);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void SetBadgeActive(bool active)
|
||||||
|
{
|
||||||
|
completedBadgeObject.SetActive(active);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue