12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576 |
- using LitJson;
- using Newtonsoft.Json;
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- public class UserSceneItem
- {
-
- public VufroiaTrigger vufroiaTrigger;
-
- public string id;
-
- public string name;
-
- public Dictionary<string, SpotsItem> SpotsList = new Dictionary<string, SpotsItem>();
- GameObject _sceneModel;
- public GameObject SceneModel
- {
- get
- {
- if (_sceneModel == null)
- {
- _sceneModel = new GameObject(name);
- _sceneModel.transform.parent = null;
- _sceneModel.transform.localPosition = Vector3.zero;
- _sceneModel.transform.localEulerAngles = Vector3.zero;
- }
- return _sceneModel;
- }
- }
- public void load()
- {
- Debug.Log("DGJ load ====> ");
- vufroiaTrigger.init();
- foreach (var v in SpotsList.Values)
- {
- v.VuforiaItem.SetActive(false);
-
- }
-
- }
- public void Clear()
- {
- Debug.Log("Clear SpotsList");
- foreach (var v in SpotsList.Values)
- {
- v.Clear();
-
- }
-
- vufroiaTrigger.Clear();
- }
-
- public string info;
- public string sentiment;
- public string updateTime;
- public string navLines;
- public string status;
- public string describe;
- public string image;
- public string map;
- public string sandTable;
- public string vuforiaXML;
- public string vuforiaDat;
- }
|