| | |
| | | }
|
| | | }
|
| | |
|
| | | public void BeginShowTreasure(int _treasureId, RawImage _rawImage)
|
| | | public void ShowTreasure(int _treasureId, RawImage _rawImage)
|
| | | {
|
| | | var instance = UI3DModelFactory.LoadUITreasure(_treasureId);
|
| | | if (instance == null)
|
| | |
| | | return;
|
| | | }
|
| | |
|
| | | StopShow();
|
| | | Stop();
|
| | |
|
| | | m_ShowCamera.enabled = true;
|
| | | m_TreasureId = _treasureId;
|
| | |
| | | }
|
| | | }
|
| | |
|
| | | public void BeginShowGodWeapon(int _type, RawImage _rawImage)
|
| | | public void ShowGodWeapon(int _type, RawImage _rawImage)
|
| | | {
|
| | | var instance = UI3DModelFactory.LoadUIGodWeapon(_type);
|
| | | if (instance == null)
|
| | |
| | | return;
|
| | | }
|
| | |
|
| | | StopShow();
|
| | | Stop();
|
| | |
|
| | | m_ShowCamera.enabled = true;
|
| | | m_GodWeaponType = _type;
|
| | |
| | | }
|
| | | }
|
| | |
|
| | | public void StopShow()
|
| | | public void Stop()
|
| | | {
|
| | | m_ShowCamera.enabled = false;
|
| | | if (effect != null)
|