| | |
| | | FunctionUnlockFlyObject flyObject;
|
| | | FunctionUnlockFlyObject unlockFlyObject1;
|
| | | FunctionUnlockFlyObject unlockFlyObject2;
|
| | | TreasureNewGotBehaviour skillStageBehaviour;
|
| | |
|
| | | Treasure treasure;
|
| | | TreasureStage treasureStage;
|
| | |
| | | if (_stage != null)
|
| | | {
|
| | | m_TreasureNewGots[i].Display(treasure.id, _stage.stage);
|
| | | if (_stage.unlockType == TreasureStageUnlock.Skill)
|
| | | {
|
| | | skillStageBehaviour = m_TreasureNewGots[i];
|
| | | }
|
| | | }
|
| | | }
|
| | |
|
| | |
|
| | | if (treasureStage != null && (TreasureCategory)config.Category != TreasureCategory.Fairy
|
| | | && treasureStage.unlockType == TreasureStageUnlock.Skill && treasure.id != 101)
|
| | |
| | | private void OnEnterShowComplete()
|
| | | {
|
| | | m_ContainerFinishShow.gameObject.SetActive(true);
|
| | | if (skillStageBehaviour != null)
|
| | | {
|
| | | var worldpos = skillStageBehaviour.m_SkillContainer.TransformPoint(Vector3.zero);
|
| | | var localpos = (transform as RectTransform).InverseTransformPoint(worldpos);
|
| | | m_FlyObjectPoint2.localPosition = localpos;
|
| | | }
|
| | | }
|
| | |
|
| | | private void OnEnterFadeOut()
|