6274 【前端】【1.6】【主干】七日巡礼增加略缩图
| | |
| | | //--------------------------------------------------------
|
| | | // [Author]: Fish
|
| | | // [ Date ]: Thursday, February 14, 2019
|
| | | // [ Date ]: Monday, February 25, 2019 |
| | | //--------------------------------------------------------
|
| | |
|
| | | using System.Collections.Generic;
|
| | |
| | | public readonly string ImageType1;
|
| | | public readonly string ImageType2;
|
| | | public readonly string name;
|
| | | public readonly float Zoom; |
| | |
|
| | | public WeekPartyPointConfig()
|
| | | {
|
| | |
| | | ImageType2 = tables[2];
|
| | |
|
| | | name = tables[3];
|
| | |
|
| | | float.TryParse(tables[4],out Zoom); |
| | | }
|
| | | catch (Exception ex)
|
| | | {
|
| | |
| | | fileFormatVersion: 2 |
| | | guid: f723363b44064444fb15fc4cafbaa0d5 |
| | | timeCreated: 1550121884 |
| | | timeCreated: 1551060842 |
| | | licenseType: Pro |
| | | MonoImporter: |
| | | serializedVersion: 2 |
| | |
| | | m_ImageShow.SetSprite(weekPartPointConfig.ImageType2);
|
| | | }
|
| | | m_ImageShow.SetNativeSize();
|
| | | var RectTrans = m_ImageShow.transform.GetComponent<RectTransform>();
|
| | | RectTrans.localScale = new Vector3(weekPartPointConfig.Zoom, weekPartPointConfig.Zoom, 1);
|
| | | }
|
| | | int Point = model.GetPoint(day);
|
| | | m_TextPoint.text = Language.Get("OSA_3", item.NeedPoint);
|