| | |
| | | void DisplayBase()
|
| | | {
|
| | | var config = HazyRegionConfig.Get(incidentId);
|
| | | m_DepletionPoint.gameObject.SetActive(!model.InFakeHazyRegion);
|
| | | //m_DepletionPoint.gameObject.SetActive(!model.InFakeHazyRegion);
|
| | | m_DepletionPoint.text = Language.Get("HazyRegionPoint", config.point);
|
| | | m_IncidentTitle.text = config.name;
|
| | | m_Icon.SetSprite(config.PortraitID);
|
| | |
| | |
|
| | | void DisplayPoint()
|
| | | {
|
| | | m_ContainerPoint.gameObject.SetActive(!model.InFakeHazyRegion);
|
| | |
|
| | | if (!model.InFakeHazyRegion)
|
| | | {
|
| | | var point = Mathf.Min(model.point, model.limitPoint);
|
| | | m_Point.text = StringUtility.Contact(point, "/", model.limitPoint);
|
| | | m_Slider.value = Mathf.Clamp01((float)point / model.limitPoint);
|
| | | }
|
| | | var point = Mathf.Min(model.point, model.limitPoint);
|
| | | m_Point.text = StringUtility.Contact(point, "/", model.limitPoint);
|
| | | m_Slider.value = Mathf.Clamp01((float)point / model.limitPoint);
|
| | | }
|
| | |
|
| | | void DisplayBackButton()
|
| | |
| | | switch (incident.state)
|
| | | {
|
| | | case IncidentState.UnStart:
|
| | | if (!InFakeHazyRegion && point < config.point)
|
| | | if (point < config.point)
|
| | | {
|
| | | error = 3;
|
| | | return false;
|