| | |
| | |
|
| | | public static UI3DModelExhibition Instance { get; private set; }
|
| | |
|
| | | static UI3DModelExhibition m_InstanceClone1 = null;
|
| | | public static UI3DModelExhibition InstanceClone1
|
| | | {
|
| | | get
|
| | | {
|
| | | if (m_InstanceClone1 == null)
|
| | | {
|
| | | CreateCloneStage();
|
| | | }
|
| | | return m_InstanceClone1;
|
| | | }
|
| | | }
|
| | |
|
| | | public static void CreateStage()
|
| | | {
|
| | | var prefab = Resources.Load<GameObject>("UI/Prefabs/UI3DModelExhibitionStage");
|
| | |
| | | DontDestroyOnLoad(gameObject);
|
| | | }
|
| | |
|
| | | static void CreateCloneStage()
|
| | | {
|
| | | var prefab = Resources.Load<GameObject>("UI/Prefabs/UI3DModelExhibitionStage");
|
| | | var gameObject = GameObject.Instantiate(prefab);
|
| | | m_InstanceClone1 = gameObject.GetComponent<UI3DModelExhibition>();
|
| | | m_InstanceClone1.transform.position = new Vector3(2000, 4000, 5000);
|
| | | m_InstanceClone1.name = "UI3DModelExhibitionStage(clone1)";
|
| | | m_InstanceClone1.gameObject.SetActive(true);
|
| | | m_InstanceClone1.m_ShowCamera.enabled = false;
|
| | | DontDestroyOnLoad(gameObject);
|
| | | }
|
| | |
|
| | | public void ShowLoginPlayer(RawImage _rawImage, int _job)
|
| | | {
|
| | | var clothesItemId = 0;
|