| | |
| | | m_FunctionIcon.SetSprite(skillConfig.IconName);
|
| | | originalScale = 1f;
|
| | | break;
|
| | | case FunctionUnlockType.TreasureFunc:
|
| | | UI3DTreasureExhibition.Instance.BeginShowTreasure(m_Id, m_TreasureIcon);
|
| | | originalScale = 9f;
|
| | | break;
|
| | | }
|
| | |
|
| | | this.transform.localScale = Vector3.one * originalScale;
|
| | |
| | | {
|
| | | case FunctionUnlockType.Treasure:
|
| | | case FunctionUnlockType.TreasureSkill:
|
| | | case FunctionUnlockType.TreasureFunc:
|
| | | UI3DTreasureExhibition.Instance.StopShow();
|
| | | break;
|
| | | case FunctionUnlockType.Normal:
|
| | |
| | | var instance = UIUtility.CreateWidget("TreasureUnlockFlyObject_1", "TreasureUnlockFlyObject_1");
|
| | | instance.transform.SetParentEx(m_FurnacesFlyContainer, Vector3.zero, Quaternion.identity, Vector3.one);
|
| | | flyObject = instance.GetComponent<FunctionUnlockFlyObject>();
|
| | | flyObject.SetContent(FunctionUnlockType.Treasure, 301);
|
| | | flyObject.SetContent(FunctionUnlockType.TreasureFunc, 301);
|
| | | flyObject.transform.localScale = Vector3.one * m_FurnacesScale;
|
| | | flyObject.SetScale(m_FurnacesScale);
|
| | |
|
| | |
| | | Normal = 2,
|
| | | TreasureSkill = 3,
|
| | | Skill = 4,
|
| | | TreasureFunc = 5,
|
| | | }
|
| | |
|
| | | public enum RedPointState
|