Esempio n. 1
0
 // Use this for initialization
 void Start()
 {
     StartCoroutine(LoadAssetBundles());                                                  //load Asset Bundles from server
     geometryObjectDataManager = Resources.Load <GeometryObjectData>("ScriptableObject"); //load GeometryObjectData from Recources
     data              = ResourcesLoader.LoadResourceTextFile("Data");                    //load GameDataJson that contain PrefabNames array
     allPrefbNames     = data.PrefabNames;
     gameArea.OnClick += GameArea_OnClick;
 }