diff --git a/Images/readme/coling.jpeg b/Images/readme/coling.jpeg new file mode 100644 index 0000000000000000000000000000000000000000..e8df846130bf992a92b09a6a66cd9e7729544a40 Binary files /dev/null and b/Images/readme/coling.jpeg differ diff --git a/Images/readme/joffreylc.jpeg b/Images/readme/joffreylc.jpeg new file mode 100644 index 0000000000000000000000000000000000000000..4e895ba4758a9d2c5abf545e532dcb6a98d010ef Binary files /dev/null and b/Images/readme/joffreylc.jpeg differ diff --git a/Images/readme/jordanp.jpeg b/Images/readme/jordanp.jpeg new file mode 100644 index 0000000000000000000000000000000000000000..bc6f874c1bc135981c41014697dbc0faf9a2bcaf Binary files /dev/null and b/Images/readme/jordanp.jpeg differ diff --git a/T3-Unity/Assets/ButtonHandler.cs b/T3-Unity/Assets/ButtonHandler.cs deleted file mode 100644 index 733be87f67fcc729a03e567dd586453d717a2274..0000000000000000000000000000000000000000 --- a/T3-Unity/Assets/ButtonHandler.cs +++ /dev/null @@ -1,14 +0,0 @@ -using System.Collections; -using System.Collections.Generic; -using UnityEngine; -using UnityEngine.UI; - -public class ButtonHandler : MonoBehaviour -{ - public Text Textfield; - - public void SetText(string text) - { - Textfield.text = text; - } -} diff --git a/T3-Unity/Assets/ButtonHandler.cs.meta b/T3-Unity/Assets/ButtonHandler.cs.meta deleted file mode 100644 index 365d208b4ff96574ee8eb267acdd58808d8ad405..0000000000000000000000000000000000000000 --- a/T3-Unity/Assets/ButtonHandler.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 7d16b747398caea419003cdc1c753b13 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/T3-Unity/Assets/InitializeMapWithLocationProvider.cs b/T3-Unity/Assets/InitializeMapWithLocationProvider.cs deleted file mode 100644 index 4c72aea7718d60c83e06bda119218685e8d7c7b7..0000000000000000000000000000000000000000 --- a/T3-Unity/Assets/InitializeMapWithLocationProvider.cs +++ /dev/null @@ -1,32 +0,0 @@ - -using System.Collections; -using Mapbox.Unity.Location; -using Mapbox.Unity.Map; -using UnityEngine; - -public class InitializeMapWithLocationProvider : MonoBehaviour -{ - [SerializeField] - AbstractMap _map; - - ILocationProvider _locationProvider; - - private void Awake() - { - // Prevent double initialization of the map. - _map.InitializeOnStart = false; - } - - protected virtual IEnumerator Start() - { - yield return null; - _locationProvider = LocationProviderFactory.Instance.DefaultLocationProvider; - _locationProvider.OnLocationUpdated += _locationProvider_OnLocationUpdated; - } - - private void _locationProvider_OnLocationUpdated(Location location) - { - _locationProvider.OnLocationUpdated -= _locationProvider_OnLocationUpdated; - _map.Initialize(location.LatitudeLongitude, _map.AbsoluteZoom); - } -} diff --git a/T3-Unity/Assets/InitializeMapWithLocationProvider.cs.meta b/T3-Unity/Assets/InitializeMapWithLocationProvider.cs.meta deleted file mode 100644 index 0f69b3ffa22b1a0e8f20629721a3962482cba8fa..0000000000000000000000000000000000000000 --- a/T3-Unity/Assets/InitializeMapWithLocationProvider.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 62c2d5ef077adbe42bdb049218092d8b -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/T3-Unity/Assets/Player.cs b/T3-Unity/Assets/Player.cs deleted file mode 100644 index 1fea37956753d2d7d1570f0478b47d836334f1e4..0000000000000000000000000000000000000000 --- a/T3-Unity/Assets/Player.cs +++ /dev/null @@ -1,37 +0,0 @@ -using UnityEngine; - -public class Player : MonoBehaviour -{ - public float speed = 10f; - - private Transform target; - private int waypointIndex = 0; - - void Start() - { - target = Waypoints.points[0]; - } - - private void Update() - { - Vector3 dir = target.position - transform.position; - transform.Translate(dir.normalized * speed * Time.deltaTime, Space.World); - - if(Vector3.Distance(transform.position, target.position) <= 0.3f) //Marge d'erreur - { - GetNextWaypoint(); - } - } - - private void GetNextWaypoint() - { - if (waypointIndex >= Waypoints.points.Length - 1) - { - Destroy(gameObject); - return; - } - - waypointIndex++; - target = Waypoints.points[waypointIndex]; - } -} diff --git a/T3-Unity/Assets/Player.cs.meta b/T3-Unity/Assets/Player.cs.meta deleted file mode 100644 index 60312b3a70274ae8969530c034dbbe72dbdd6722..0000000000000000000000000000000000000000 --- a/T3-Unity/Assets/Player.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 9ca97a683b12b594ab5876a91bf19d7a -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/T3-Unity/Assets/Player.prefab b/T3-Unity/Assets/Player.prefab deleted file mode 100644 index 338447ca0edc233cff6d24cb9466cf4cedcb57e7..0000000000000000000000000000000000000000 --- a/T3-Unity/Assets/Player.prefab +++ /dev/null @@ -1,93 +0,0 @@ -%YAML 1.1 -%TAG !u! tag:unity3d.com,2011: ---- !u!1 &2988264511838461322 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 3049673282277007091} - - component: {fileID: 6168152718767787203} - - component: {fileID: 1441771143590743554} - - component: {fileID: 4995190758387552890} - m_Layer: 0 - m_Name: Player - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!4 &3049673282277007091 -Transform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 2988264511838461322} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 4.5, y: 2.5, z: 9.5} - m_LocalScale: {x: 3, y: 3, z: 3} - m_Children: [] - m_Father: {fileID: 0} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!33 &6168152718767787203 -MeshFilter: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 2988264511838461322} - m_Mesh: {fileID: 10207, guid: 0000000000000000e000000000000000, type: 0} ---- !u!23 &1441771143590743554 -MeshRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 2988264511838461322} - m_Enabled: 1 - m_CastShadows: 1 - m_ReceiveShadows: 1 - m_DynamicOccludee: 1 - m_MotionVectors: 1 - m_LightProbeUsage: 1 - m_ReflectionProbeUsage: 1 - m_RenderingLayerMask: 1 - m_RendererPriority: 0 - m_Materials: - - {fileID: 2100000, guid: b4d771525b9636c4b9bf6a1640d82f46, type: 2} - m_StaticBatchInfo: - firstSubMesh: 0 - subMeshCount: 0 - m_StaticBatchRoot: {fileID: 0} - m_ProbeAnchor: {fileID: 0} - m_LightProbeVolumeOverride: {fileID: 0} - m_ScaleInLightmap: 1 - m_PreserveUVs: 0 - m_IgnoreNormalsForChartDetection: 0 - m_ImportantGI: 0 - m_StitchLightmapSeams: 0 - m_SelectedEditorRenderState: 3 - m_MinimumChartSize: 4 - m_AutoUVMaxDistance: 0.5 - m_AutoUVMaxAngle: 89 - m_LightmapParameters: {fileID: 0} - m_SortingLayerID: 0 - m_SortingLayer: 0 - m_SortingOrder: 0 ---- !u!135 &4995190758387552890 -SphereCollider: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 2988264511838461322} - m_Material: {fileID: 0} - m_IsTrigger: 0 - m_Enabled: 1 - serializedVersion: 2 - m_Radius: 0.5 - m_Center: {x: 0, y: 0, z: 0} diff --git a/T3-Unity/Assets/Player.prefab.meta b/T3-Unity/Assets/Player.prefab.meta deleted file mode 100644 index c1442eebe8e7bbc4fba539d9aa23dfe37b887834..0000000000000000000000000000000000000000 --- a/T3-Unity/Assets/Player.prefab.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 0bd6eaa40c9413f49aa5d07b6f158dcf -PrefabImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/T3-Unity/Assets/RandomObjectsCreator.cs b/T3-Unity/Assets/RandomObjectsCreator.cs deleted file mode 100644 index fde5c7d9703d4e83f0a0db5b8a5f8fc24defa9d6..0000000000000000000000000000000000000000 --- a/T3-Unity/Assets/RandomObjectsCreator.cs +++ /dev/null @@ -1,26 +0,0 @@ -using System.Collections; -using System.Collections.Generic; -using UnityEngine; - -public class RandomObjectsCreator : MonoBehaviour -{ - public Transform _prefab; - public float _radius = 10; - - // Update is called once per frame - void Update() - { - if (Input.GetKey("space")) - { - //Create a random position. - //The insideUnitSphere return a random position inside a sphere of radius 1. - Vector3 rndPos = Random.insideUnitSphere * _radius; - - //Create a random rotation. - Quaternion rndRotation = Random.rotation; - - //Instantiate a new object at a random position with a random rotation. - Transform newGameObj = Instantiate(_prefab, rndPos, rndRotation) as Transform; - } - } -} \ No newline at end of file diff --git a/T3-Unity/Assets/RandomObjectsCreator.cs.meta b/T3-Unity/Assets/RandomObjectsCreator.cs.meta deleted file mode 100644 index 5f7a9d1778dad5b09ce34dc10de3234fb0ff6374..0000000000000000000000000000000000000000 --- a/T3-Unity/Assets/RandomObjectsCreator.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 3cd64fa1c85beb74393e3b607d821f01 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/T3-Unity/Assets/Scenes/Map_Tests1.unity b/T3-Unity/Assets/Scenes/Map_Tests1.unity index b45bc6b6f0e008764d5f26fdfe0ad012ff159469..7211a3960fb1e07e70859b9e16bdce1add689125 100644 --- a/T3-Unity/Assets/Scenes/Map_Tests1.unity +++ b/T3-Unity/Assets/Scenes/Map_Tests1.unity @@ -852,6 +852,8 @@ MonoBehaviour: nbJoueur: 15 parent: {fileID: 313702767} copy: {fileID: 114736490466060796, guid: 4256cfb91b73ae34aab9be42e6a067de, type: 3} + _listRunners: [] + moyenneMotivation: 0 --- !u!4 &313702767 Transform: m_ObjectHideFlags: 0 diff --git a/T3-Unity/Assets/Scripts/IA/Runners.cs b/T3-Unity/Assets/Scripts/IA/Runners.cs index f18b3d06b39c35be2bee7aa2f02b15849777a698..39712e4e5f5174c8f07b88121abf7addb92b899e 100644 --- a/T3-Unity/Assets/Scripts/IA/Runners.cs +++ b/T3-Unity/Assets/Scripts/IA/Runners.cs @@ -8,6 +8,7 @@ public class Runners : MonoBehaviour { public float speed = 10f; + public float motivation; private AbstractMap _map; private Vector3 target; @@ -15,6 +16,7 @@ void Start() { + motivation = 50f; _map = GameObject.Find("Map").GetComponent<AbstractMap>(); Debug.Log("JE SUIS CREE !"); @@ -33,6 +35,19 @@ { GetNextWaypoint(); } + + if (Ui.difficulty < MotivScale.diff_min) + {//0.01 0.010 | 1 10 + motivation = motivation - ((float.Parse(RunnersFactory.getInstance().getRandom().Next(1, 10).ToString()) / 500f) * (MotivScale.diff_min - Ui.difficulty)); + } + else if (Ui.difficulty > MotivScale.diff_max) + { + motivation = motivation - ((float.Parse(RunnersFactory.getInstance().getRandom().Next(1, 10).ToString()) / 500f) * (Ui.difficulty - MotivScale.diff_max)); + } + else + { + motivation = motivation + (float.Parse(RunnersFactory.getInstance().getRandom().Next(1, 10).ToString()) / 500f); + } } private void GetNextWaypoint() diff --git a/T3-Unity/Assets/Scripts/IA/RunnersFactory.cs b/T3-Unity/Assets/Scripts/IA/RunnersFactory.cs index 0e18c7e81b0940346b5b5817ab5defe8dda54c30..21460fdf48f3088a79154a6e3390e294ce073789 100644 --- a/T3-Unity/Assets/Scripts/IA/RunnersFactory.cs +++ b/T3-Unity/Assets/Scripts/IA/RunnersFactory.cs @@ -3,6 +3,7 @@ using UnityEngine; using Scripts.Waypoints; using Mapbox.Unity.Map; + using System.Collections.Generic; public class RunnersFactory : MonoBehaviour { @@ -12,16 +13,51 @@ private System.Random rdn; private static RunnersFactory instance; private AbstractMap _map; + public List<GameObject> _listRunners; + public float moyenneMotivation = 0; void Start() { + _listRunners = new List<GameObject>(); _map = GameObject.Find("Map").GetComponent<AbstractMap>(); instance = this; rdn = new System.Random(); + + nbJoueur = 5 + Ui.rep * 2; + for (int i = 0; i < nbJoueur; i++) { - Instantiate(copy, _map.GeoToWorldPosition(WaypointsFactory.getInstance().getWp()[0]), - new Quaternion(0, 0, 0, 0), parent); + _listRunners.Add(Instantiate(copy, _map.GeoToWorldPosition(WaypointsFactory.getInstance().getWp()[0]), + new Quaternion(0, 0, 0, 0), parent).gameObject); + moyenneMotivation += _listRunners[i].GetComponent<Runners>().motivation; + } + + moyenneMotivation /= float.Parse(_listRunners.Count.ToString()); + } + + private void Update() + { + _listRunners.Clear(); + moyenneMotivation = 0; + for (int i = 0; i<GameObject.Find("Sportifs").transform.childCount; i++) + { + _listRunners.Add(GameObject.Find("Sportifs").transform.GetChild(i).gameObject); + moyenneMotivation += _listRunners[i].GetComponent<Runners>().motivation; + } + moyenneMotivation /= float.Parse(_listRunners.Count.ToString()); + + if (GameObject.Find("Sportifs").transform.childCount != 0) + { + Ui.motiv = moyenneMotivation; + + if (Ui.motiv < 0) + { + Ui.motiv = 0; + } + else if (Ui.motiv > 100) + { + Ui.motiv = 100; + } } } diff --git a/T3-Unity/Assets/Scripts/UI/MotivScale.cs b/T3-Unity/Assets/Scripts/UI/MotivScale.cs index 9afd48000c35bd0e032b8eb0ad240eaa9c8a0e62..7d7b954943191d88cd4da47cbed843461c881b1b 100644 --- a/T3-Unity/Assets/Scripts/UI/MotivScale.cs +++ b/T3-Unity/Assets/Scripts/UI/MotivScale.cs @@ -4,8 +4,8 @@ using UnityEngine; public class MotivScale : MonoBehaviour { - int diff_max; - int diff_min; + public static int diff_max; + public static int diff_min; void Start() { @@ -21,81 +21,48 @@ public class MotivScale : MonoBehaviour else { - float ech = Ui.motiv / 10; + float ech = Ui.motiv / 100f; transform.localScale = new Vector3(ech, 1, 1); - if (Ui.fame == 0) + if (Ui.fame < 10) { diff_max = 4; diff_min = 2; } - else if (Ui.fame >= 10) + else if (Ui.fame >= 10 && Ui.fame < 20) { diff_max = 5; diff_min = 3; } - else if (Ui.fame >= 20) + else if (Ui.fame >= 20 && Ui.fame < 40) { diff_max = 6; diff_min = 4; } - else if (Ui.fame >= 40) + else if (Ui.fame >= 40 && Ui.fame < 60) { diff_max = 7; diff_min = 5; } - - else if (Ui.fame >= 60) + else if (Ui.fame >= 60 && Ui.fame < 80) { diff_max = 8; diff_min = 6; } - - else if (Ui.fame >= 80) + else if (Ui.fame >= 80 && Ui.fame < 100) { diff_max = 9; diff_min = 7; } - else if (Ui.fame >= 100) { diff_max = 10; diff_min = 8; } - - - if (Ui.motiv < 0) - { - Ui.motiv = 0; - } - - if (Ui.motiv > 10) - { - Ui.motiv = 10; - } - - if (Ui.difficulty < diff_min) - { - Ui.motiv = Ui.motiv - 0.003f; - } - - else if (Ui.difficulty > diff_max) - { - Ui.motiv = Ui.motiv - 0.003f; - } - - else - { - Ui.motiv = Ui.motiv + 0.003f; - } - } - - - } } diff --git a/T3-Unity/Assets/Scripts/UI/nbObstacle.cs b/T3-Unity/Assets/Scripts/UI/nbObstacle.cs index 9fa3de7ab76cd2b98834f63b7afb5c656de707e9..ad860c816d88c8fa0fc4c0fdd47b450f46415adb 100644 --- a/T3-Unity/Assets/Scripts/UI/nbObstacle.cs +++ b/T3-Unity/Assets/Scripts/UI/nbObstacle.cs @@ -13,4 +13,5 @@ public class nbObstacle : MonoBehaviour Ui.nbObst = Ui.nbObst - 1; } + } } diff --git a/T3-Unity/Assets/SpawnOnMap.cs b/T3-Unity/Assets/SpawnOnMap.cs deleted file mode 100644 index 2b006e38b98ff9349056d7cc312c51d2a50cf775..0000000000000000000000000000000000000000 --- a/T3-Unity/Assets/SpawnOnMap.cs +++ /dev/null @@ -1,18 +0,0 @@ -using System.Collections; -using System.Collections.Generic; -using UnityEngine; - -public class SpawnOnMap : MonoBehaviour -{ - // Start is called before the first frame update - void Start() - { - - } - - // Update is called once per frame - void Update() - { - - } -} diff --git a/T3-Unity/Assets/SpawnOnMap.cs.meta b/T3-Unity/Assets/SpawnOnMap.cs.meta deleted file mode 100644 index 34a5156ffbd3c7bb87342c4eed261da0740cb820..0000000000000000000000000000000000000000 --- a/T3-Unity/Assets/SpawnOnMap.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 7d9134162b20552469fd194b70715021 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/T3-Unity/Assets/TextHandler.cs b/T3-Unity/Assets/TextHandler.cs deleted file mode 100644 index 4ec5728e3e35436ec0e44b17b4904b30b280bf7c..0000000000000000000000000000000000000000 --- a/T3-Unity/Assets/TextHandler.cs +++ /dev/null @@ -1,18 +0,0 @@ -using System.Collections; -using System.Collections.Generic; -using UnityEngine; - -public class TextHandler : MonoBehaviour -{ - // Start is called before the first frame update - void Start() - { - - } - - // Update is called once per frame - void Update() - { - - } -} diff --git a/T3-Unity/Assets/TextHandler.cs.meta b/T3-Unity/Assets/TextHandler.cs.meta deleted file mode 100644 index 0b3556ee6d3d67f5bc4aa05f87334c17df5c039a..0000000000000000000000000000000000000000 --- a/T3-Unity/Assets/TextHandler.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: adc6e282f06f1f740b3ac6827332589b -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/T3-Unity/Assets/Tree.prefab b/T3-Unity/Assets/Tree.prefab deleted file mode 100644 index fd536187f9e3e318c8a827d62b68ab96e8a2bc7e..0000000000000000000000000000000000000000 --- a/T3-Unity/Assets/Tree.prefab +++ /dev/null @@ -1,868 +0,0 @@ -%YAML 1.1 -%TAG !u! tag:unity3d.com,2011: ---- !u!1 &6841884671796025046 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 2607426792231862992} - - component: {fileID: 1470544611184568821} - - component: {fileID: 572919843287477795} - - component: {fileID: 627994290992090968} - m_Layer: 0 - m_Name: Tree - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!4 &2607426792231862992 -Transform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 6841884671796025046} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_Children: [] - m_Father: {fileID: 0} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!193 &1470544611184568821 -Tree: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 6841884671796025046} - m_SpeedTreeWindAsset: {fileID: 0} - m_TreeData: {fileID: 114412932522947144} ---- !u!33 &572919843287477795 -MeshFilter: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 6841884671796025046} - m_Mesh: {fileID: 43274217643936046} ---- !u!23 &627994290992090968 -MeshRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 6841884671796025046} - m_Enabled: 1 - m_CastShadows: 1 - m_ReceiveShadows: 1 - m_DynamicOccludee: 1 - m_MotionVectors: 1 - m_LightProbeUsage: 1 - m_ReflectionProbeUsage: 1 - m_RenderingLayerMask: 1 - m_RendererPriority: 0 - m_Materials: - - {fileID: 21642922241295098} - m_StaticBatchInfo: - firstSubMesh: 0 - subMeshCount: 0 - m_StaticBatchRoot: {fileID: 0} - m_ProbeAnchor: {fileID: 0} - m_LightProbeVolumeOverride: {fileID: 0} - m_ScaleInLightmap: 1 - m_PreserveUVs: 0 - m_IgnoreNormalsForChartDetection: 0 - m_ImportantGI: 0 - m_StitchLightmapSeams: 0 - m_SelectedEditorRenderState: 3 - m_MinimumChartSize: 4 - m_AutoUVMaxDistance: 0.5 - m_AutoUVMaxAngle: 89 - m_LightmapParameters: {fileID: 0} - m_SortingLayerID: 0 - m_SortingLayer: 0 - m_SortingOrder: 0 ---- !u!21 &21027443205240300 -Material: - serializedVersion: 6 - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_Name: Optimized Leaf Material - m_Shader: {fileID: 10605, guid: 0000000000000000f000000000000000, type: 0} - m_ShaderKeywords: - m_LightmapFlags: 4 - m_EnableInstancingVariants: 0 - m_DoubleSidedGI: 0 - m_CustomRenderQueue: -1 - stringTagMap: {} - disabledShaderPasses: [] - m_SavedProperties: - serializedVersion: 3 - m_TexEnvs: - - _BumpSpecMap: - m_Texture: {fileID: 2800000, guid: e8d812ef0f8e97541988acced374f732, type: 3} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _MainTex: - m_Texture: {fileID: 2800000, guid: 7ba50cf7d4a80a74fa2c2f8b166713a9, type: 3} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _ShadowTex: - m_Texture: {fileID: 2800000, guid: bc43e6a5ad5a6da47abd1f1161507813, type: 3} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _TranslucencyMap: - m_Texture: {fileID: 2800000, guid: 3082ee7b5bac87345a3f82d7389a51bb, type: 3} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - m_Floats: - - _Cutoff: 0.3 - - _ShadowOffsetScale: 1 - - _ShadowStrength: 0.8 - - _SquashAmount: 1 - - _TranslucencyViewDependency: 0.7 - m_Colors: - - _Color: {r: 1, g: 1, b: 1, a: 1} - - _TranslucencyColor: {r: 0.73, g: 0.85, b: 0.41, a: 1} - - _TreeInstanceColor: {r: 1, g: 1, b: 1, a: 1} - - _TreeInstanceScale: {r: 1, g: 1, b: 1, a: 1} ---- !u!21 &21642922241295098 -Material: - serializedVersion: 6 - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_Name: Optimized Bark Material - m_Shader: {fileID: 10604, guid: 0000000000000000f000000000000000, type: 0} - m_ShaderKeywords: - m_LightmapFlags: 4 - m_EnableInstancingVariants: 0 - m_DoubleSidedGI: 0 - m_CustomRenderQueue: -1 - stringTagMap: {} - disabledShaderPasses: [] - m_SavedProperties: - serializedVersion: 3 - m_TexEnvs: - - _BumpSpecMap: - m_Texture: {fileID: 2800000, guid: e8d812ef0f8e97541988acced374f732, type: 3} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _MainTex: - m_Texture: {fileID: 2800000, guid: 7ba50cf7d4a80a74fa2c2f8b166713a9, type: 3} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _TranslucencyMap: - m_Texture: {fileID: 2800000, guid: 3082ee7b5bac87345a3f82d7389a51bb, type: 3} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - m_Floats: - - _Cutoff: 0.3 - - _SquashAmount: 1 - m_Colors: - - _Color: {r: 1, g: 1, b: 1, a: 1} - - _SpecColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} - - _TreeInstanceColor: {r: 1, g: 1, b: 1, a: 1} - - _TreeInstanceScale: {r: 1, g: 1, b: 1, a: 1} ---- !u!43 &43274217643936046 -Mesh: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_Name: Mesh - serializedVersion: 9 - m_SubMeshes: - - serializedVersion: 2 - firstByte: 0 - indexCount: 420 - topology: 0 - baseVertex: 0 - firstVertex: 0 - vertexCount: 88 - localAABB: - m_Center: {x: -0.07036564, y: 7.371292, z: -0.30755773} - m_Extent: {x: 0.57326114, y: 7.371292, z: 0.99303865} - m_Shapes: - vertices: [] - shapes: [] - channels: [] - fullWeights: [] - m_BindPose: [] - m_BoneNameHashes: - m_RootBoneNameHash: 0 - m_MeshCompression: 0 - m_IsReadable: 1 - m_KeepVertices: 1 - m_KeepIndices: 1 - m_IndexFormat: 0 - m_IndexBuffer: 090000000a00000001000a000a0001000b00010002000b000b0002000c00020003000c000c0003000d00030004000d000d0004000e00040005000e000e0005000f00050006000f000f000600100006000700100010000700110007000800110012000900130009000a00130013000a0014000a000b00140014000b0015000b000c00150015000c0016000c000d00160016000d0017000d000e00170017000e0018000e000f00180018000f0019000f0010001900190010001a00100011001a001b0012001c00120013001c001c0013001d00130014001d001d0014001d00140015001d001d0015001e00150016001e001e0016001f00160017001f001f0017001f00170018001f001f001800200018001900200020001900210019001a00210022001b0023001b001c00230023001c0024001c001d00240024001d0025001d001e00250025001e0026001e001f00260026001f0027001f0020002700270020002800200021002800290022002a00220023002a002a0023002b00230024002b002b0024002c00240025002c002c0025002d00250026002d002d0026002e00260027002e002e0027002f00270028002f0030002900310029002a00310031002a0031002a002b00310031002b0032002b002c00320032002c0033002c002d00330033002d0033002d002e00330033002e0034002e002f0034003500300036003000310036003600310037003100320037003700320038003200330038003800330039003300340039003a0035003b00350036003b003b0036003c00360037003c003c0037003d00370038003d003d0038003e00380039003e003f003a0040003a003b00400040003b0041003b003c00410041003c0042003c003d00420042003d0043003d003e00430044003f0045003f0040004500450040004600400041004600460041004700410042004700470042004800420043004800490044004a00440045004a004a0045004b00450046004b004b0046004c00460047004c004c0047004d00470048004d004e0049004f0049004a004f004f004a0050004a004b00500050004b0051004b004c00510051004c0052004c004d00520053004e0054004e004f00540054004f0055004f0050005500550050005600500051005600560051005700510052005700 - m_VertexData: - serializedVersion: 2 - m_VertexCount: 88 - m_Channels: - - stream: 0 - offset: 0 - format: 0 - dimension: 3 - - stream: 0 - offset: 12 - format: 0 - dimension: 3 - - stream: 0 - offset: 24 - format: 0 - dimension: 4 - - stream: 0 - offset: 40 - format: 0 - dimension: 4 - - stream: 0 - offset: 56 - format: 0 - dimension: 2 - - stream: 0 - offset: 64 - format: 0 - dimension: 2 - - stream: 0 - offset: 0 - format: 0 - dimension: 0 - - stream: 0 - offset: 0 - format: 0 - dimension: 0 - - stream: 0 - offset: 0 - format: 0 - dimension: 0 - - stream: 0 - offset: 0 - format: 0 - dimension: 0 - - stream: 0 - offset: 0 - format: 0 - dimension: 0 - - stream: 0 - offset: 0 - format: 0 - dimension: 0 - - stream: 0 - offset: 0 - format: 0 - dimension: 0 - - stream: 0 - offset: 0 - format: 0 - dimension: 0 - m_DataSize: 6336 - _typelessdata: 00000000000000007fd0ff3e4f8f51bc8d34553dcaa17f3fa0fa7fbf0000000022d851bc000080bf000000000000000000000000f2ff7f3f0000403f000000000000000000000000c79cb63e00000000c79cb63e802f343f8f34553d455c353f4b9b35bf000000001d6e343f000080bf0000000000000000000000000000803f0000303f000000000000000000000000c2bd003f0000000080d3bcb243a67f3f8e34553d862babbb0167ab3b000000001aff7f3f000080bf0000000000000000000000000000803f0000203f00000000000000000000000040b6b43e0000000040b6b4be7f2f343f8e34553d475c35bf4d9b353f000000001c6e343f000080bf000000000000000000000000cfff7f3f0000103f000000000000000000000000589a3bb3000000007fd0ffbe35ee57ba8e34553d23a77fbffaff7f3f000000003e3958ba000080bf0000000000000000000000002eff7f3f0000003f000000000000000000000000036ab4be00000000ff69b4be9e0f36bf8e34553d487a33bfa6b8333f00000000e24e36bf000080bf00000000000000000000000082fc7f3f0000e03e000000000000000000000000412ffcbe0000000086d0c931aaa57fbf8d34553d1305dd3be251ddbb0000000081fe7fbf000080bf000000000000000000000000cff87f3f0000c03e0000000000000000000000004afeb1be0000000052feb13e9c0f36bf8d34553d497a333fa8b833bf00000000e14e36bf000080bf000000000000000000000000e1f97f3f0000a03e000000000000000000000000589abb33000000007fd0ff3e4f8f51bc8d34553dcaa17f3fa0fa7fbf0000000022d851bc000080bf000000000000000000000000f2ff7f3f0000803e00000000000000000000000093d18bbdd3636e3fe637173f33c080bc8451bbbd2ce57e3f5cf47fbf9a39413c6fd270bc000080bf0000000000000000000000000000803f0000403f93b8a83eee911b39000000007f1f873e4bcd713faabfea3ee83e343faa647fbd6816353f90c135bf27c7a5bdab15333f000080bf0000000000000000000000000000803f0000303f93b8a83eee911b3900000000f415cd3ed7127c3f4ed9033e6fed7f3f34e8c23c748540ba0082723b93b5ffbdb4fe7d3f000080bf0000000000000000000000000000803f0000203f93b8a83eee911b39000000007fde853e717a833fb4e94abeb2d4343ffa7cea3d43d232bf712c353f73cac2bdef37333f000080bf00000000000000000000000059f87f3f0000103f93b8a83eee911b39000000007a928bbd8c19863ff476abbecda6953a53a6213e39ca7cbfc9fc7f3ff21222bc73f1deb9000080bf000000000000000000000000a7d27f3f0000003f93b8a83eee911b390000000089e7cbbe4c50843f29a04abe406e36bfbc94023ee49a30bfd263333fac50a83d176b35bf000080bf000000000000000000000000b9dd7f3f0000e03e93b8a83eee911b3900000000c41207bf6a677e3fdfe5043e77bd7fbffb40293d9501933cb94f4fbccbdeff3d38f97dbf000080bf000000000000000000000000a9fb7f3f0000c03e93b8a83eee911b390000000056aec7becbc6733fa0d3e53eb3f135bf8fea42bd62ad333f55e233bf80f8c33d247e34bf000080bf0000000000000000000000000000803f0000a03e93b8a83eee911b390000000088d18bbdd2636e3fe637173f33c080bc8451bbbd2ce57e3f5cf47fbf9a39413c6fd270bc000080bf0000000000000000000000000000803f0000803e93b8a83eee911b39000000004b7fa43c3732fb3fad7b2f3f102b0bbca03eebba88fd7f3f54587fbfd267913dc1ba08bc000080bf0000000000000000000000000000803f0000403f96f92e3fee919b3a00000000796ba93edaf4f83fab2e0f3f09e3343f37c12bbd59d5343f24c034bf41acc93c9a2d353f000080bf0000000000000000000000000000803f0000303f96f92e3fee919b3a000000001a11ea3ed63ef93f5f4d7d3ef8d07f3f8b9717bdf43e04bc8059dc3b1a0315bd22d37f3f000080bf0000000000000000000000000000803f0000203f96f92e3fee919b3a000000002f49a73eb6d7fb3fbc0976bd50e2343f424f113ced2335bfdfc0343fe14d9abd8241343f000080bf000000000000000000000000f2ff7f3f0000103f96f92e3fee919b3a000000003c269e3cdd39ff3f1fd441be21a9e33b5a108d3dc5627fbf825b7f3f47f390bdad03073b000080bf00000000000000000000000077f77f3f0000003f96f92e3fee919b3a00000000112395be4fba004025447bbdcd9b34bf7c9cde3d544833bff3d0333fcd7bc6bce31b36bf000080bf000000000000000000000000cbcd7f3f0000e03e96f92e3fee919b3a000000002861d4be45920040fa2e803ef6977ebf08dbd33d2933833c88fc48bca09c163dbfce7fbf000080bf0000000000000000000000003bd57f3f0000c03e96f92e3fee919b3a00000000a74491be708efe3fa8dd0d3feaf833bfc9216d3dc374353fb57434bfb1389a3d098e34bf000080bf0000000000000000000000001dfd7f3f0000a03e96f92e3fee919b3a00000000747fa43c3732fb3fad7b2f3f102b0bbca03eebba88fd7f3f54587fbfd267913dc1ba08bc000080bf0000000000000000000000000000803f0000803e96f92e3fee919b3a00000000d8fa963d233d3e40d8fd183fdb980d3b55dcd03c8bea7f3ff9e87fbfe2ccd83c2bb8c23a000080bf0000000000000000000000000000803f0000403f256c883f2243833b000000007c9dd63ea7c03d402280cc3e033f5e3f7201d53bf115fe3eb41afebed608d03bba3d5e3f000080bf0000000000000000000000000000803faaaa2a3f256c883f2243833b000000007a1bd43ec3f53d402188fc3ac8335d3f7e766c3c41cf00bf73dc003ff19da4bcad245d3f000080bf0000000000000000000000000000803f5655153f256c883f2243833b000000006450923d17a43e40c1114abef2f2303b6277283d4fc87fbfece87f3f22ffd8bc2427d33a000080bf00000000000000000000000055fd7f3f0000003f256c883f2243833b00000000093c8dbe60213f40d384553ae0af5dbfb095763d1231febe497afe3ef7c3d0bb5d225ebf000080bf000000000000000000000000d8da7f3f5655d53e256c883f2243833b00000000bbbb8abe00ec3e409006cd3e75755cbf48ee553d0f71013f145c01bf04f7a43c0cda5cbf000080bf0000000000000000000000008bf07f3fabaaaa3e256c883f2243833b00000000e1fa963d223d3e40d8fd183fdb980d3b55dcd03c8bea7f3ff9e87fbfe2ccd83c2bb8c23a000080bf0000000000000000000000000000803f0000803e256c883f2243833b000000005b81963d07037e4006331d3f8440663c82c7a63cf2eb7f3fc7e37fbf45add0bc0ab96e3c000080bf0000000000000000000000000000803f0000403fdc9dbd3fee911b3c0000000072cebf3e56a67e401a3ae03e781a5d3f32a4463df96e003f5d4900bf9d74c6bc32735d3f000080bf0000000000000000000000000000803faaaa2a3fdc9dbd3fee911b3c000000007520c23e21f57e4056fbb03da7eb5e3f1d807d3d2fbbf9bef430fa3e9b1d393aa75a5f3f000080bf000000000000000000000000a0ff7f3f5655153fdc9dbd3fee911b3c00000000e687923d299f7e408452d3bdc62a2c3c1c58403d15b47fbfd5e67f3f76d0cd3c14a73f3c000080bf000000000000000000000000dff87f3f0000003fdc9dbd3fee911b3c00000000443380bee4f17d40ede4a13d887f5ebf253f933c740efdbe7637fd3e4c82c53c206a5ebf000080bf00000000000000000000000042e07f3f5655d53edc9dbd3fee911b3c00000000ce6577be0ba57d4075d3e43ef9fe5abfce6a9d3b5992043f249304bffa34dbba43ff5abf000080bf0000000000000000000000000000803fabaaaa3edc9dbd3fee911b3c000000006381963d07037e4006331d3f8440663c82c7a63cf2eb7f3fc7e37fbf45add0bc0ab96e3c000080bf0000000000000000000000000000803f0000803edc9dbd3fee911b3c000000003bc4b73ccdac9f404eb10e3ff863a23c06a5b93d44e57e3f4a717ebf455ad9bdae40f13c000080bf0000000000000000000000000000803f0000403fd9e1f73f83ec973c00000000dc91973e8f51a040a2adc43e8fb15c3fd2611d3e343ef73e1ae1f9be2d569dbb25705f3f000080bf000000000000000000000000eaff7f3faaaa2a3fd9e1f73f83ec973c000000004f43983ef6c29f402c7e863d2e1d5d3f18dccc3de9e4fcbe6161f83e80c4cd3d56605e3f000080bf0000000000000000000000002ffe7f3f5655153fd9e1f73f83ec973c00000000eb60b23c3d809e408f0bdbbdf017943cadf09fbccce87fbfe3737e3f9779de3dbfde813c000080bf000000000000000000000000bffe7f3f0000003fd9e1f73f83ec973c0000000055658dbe74c19d40fe83673d82595cbfb0dfb2bdf56100bf19bd003fb75ee13b72445dbf000080bf000000000000000000000000e3d37f3f5655d53ed9e1f73f83ec973c00000000a52c8cbe205f9e409952cd3e005e5bbfd74dfdbc82b9033f8f6602bf628cd1bd7fbc5abf000080bf0000000000000000000000000000803fabaaaa3ed9e1f73f83ec973c000000005ac4b73ccdac9f404eb10e3ff863a23c06a5b93d44e57e3f4a717ebf455ad9bdae40f13c000080bf0000000000000000000000000000803f0000803ed9e1f73f83ec973c00000000a200d4beac1cfe40c07c953e7d12363bf17e853d5f747f3f72a77fbfc75c53bdc78fc93b000080bf0000000000000000000000000000803f0000403f1cee6740ee919b3d00000000323e40be5740fe401c0e713dcb117f3ff9d4ad3d8f05ecbb1cb9933b89a5023dfddd7f3f000080bf00000000000000000000000028fd7f3f0000203f1cee6740ee919b3d000000004e0fd5befba4fd404ad929be133fccbb3403bb3aa9fe7fbf72a77f3fc75c533dc78fc9bb000080bf0000000000000000000000007bf57f3f0000003f1cee6740ee919b3d00000000b9c424bf5d7ffd40908e7c3d37f47fbfeda795bc97e1a63b34ba93bb89a502bdfddd7fbf000080bf0000000000000000000000000000803f0000c03e1cee6740ee919b3d00000000a000d4beac1cfe40c07c953e7d12363bf17e853d5f747f3f72a77fbfc75c53bdc78fc93b000080bf0000000000000000000000000000803f0000803e1cee6740ee919b3d000000007b1ad1be7e230f41a5a9803ebe9b1e3b1835c53d44cf7e3f29f97fbf5a6764bc5cb7773b000080bf0000000000000000000000000000803f0000403fab828b404a81dd3d00000000091055be4afb0e41371c503dc4b57f3fd168413d72a4c0bb1fa63d3b791b813d5f7d7f3f000080bf000000000000000000000000f0f87f3f0000203fab828b404a81dd3d0000000072b2d1be0abc0e41ca1e18bea9795cbb5e74f3bcafe27fbf29f97f3f5a67643c5cb777bb000080bf00000000000000000000000056ea7f3f0000003fab828b404a81dd3d00000000d15b19bff6e40e410b2a563da2f37fbf628e9e3cffbedb3a5ea73dbb791b81bd5f7d7fbf000080bf0000000000000000000000000000803f0000c03eab828b404a81dd3d000000007a1ad1be7e230f41a5a9803ebe9b1e3b1835c53d44cf7e3f29f97fbf5a6764bc5cb7773b000080bf0000000000000000000000000000803f0000803eab828b404a81dd3d00000000e5e5e2be2c4b1f4152b4ca3d54b0193ad1e5573ed03e7a3fc2f37fbfdbae99bc4f3d983b000080bf0000000000000000000000000000803f0000403f6058a74083ec173e0000000054358dbe15de1e41bbc987bd25a57f3f4e34533d81612dbc513ba13a0266363ee8e77b3f000080bf0000000000000000000000006cf97f3f0000203f6058a74083ec173e00000000d71be3be10571e41f4c76bbe9a7cf5ba74b214be3e497dbfc2f37f3fdbae993c4f3d98bb000080bf00000000000000000000000031817f3f0000003f6058a74083ec173e00000000ff871cbf49c41e41fc9784bd77f97fbfa464663c1ecca9ba4e3ea1ba026636bee8e77bbf000080bf0000000000000000000000000000803f0000c03e6058a74083ec173e00000000e4e5e2be2c4b1f4151b4ca3d54b0193ad1e5573ed03e7a3fc2f37fbfdbae99bc4f3d983b000080bf0000000000000000000000000000803f0000803e6058a74083ec173e00000000a61fe5be4fe42e4101bb30beb50ff03ad4048f3e2acf753f1c8e7fbfe0be693d6fcd70bc000080bf0000000000000000000000000000803f0000403f6861c940ee354a3e00000000adea9fbe7f3b2e41a08d9abe86ea7f3f63eecabc4d9fd33b839a0cb9a7237d3ef40d783f000080bf0000000000000000000000007fb07f3f0000203f6861c940ee354a3e00000000e81ae5be1ad32d418f39debe4599093b66f65bbe03067abf1c8e7f3fe0be69bd6fcd703c000080bf00000000000000000000000009517f3f0000003f6861c940ee354a3e00000000bab914bf657a2e4101949cbee5e87ebf22e2b63db5c2bbbcdd7c0c39a7237dbef40d78bf000080bf00000000000000000000000097ff7f3f0000c03e6861c940ee354a3e00000000a51fe5be4fe42e4101bb30beb50ff03ad4048f3e2acf753f1c8e7fbfe0be693d6fcd70bc000080bf0000000000000000000000000000803f0000803e6861c940ee354a3e000000002faba6bec2283e41fb4fedbe8239703b03d4a23e16b5723fecc47fbf0102293dab7a23bc000080bf000000000000000000000000f9ff7f3f0000403fa52bf5402243833e000000001a8167be36a43d41fe9b0ebf33fd7f3f766317bc3428d839336b133b2e87923eb24a753f000080bf000000000000000000000000a6e27f3f0000203fa52bf5402243833e0000000088e5a6bec7403d41ea3227bf58175aba721082be219a77bfecc47f3f010229bdab7a233c000080bf000000000000000000000000ee5b7f3f0000003fa52bf5402243833e000000000750d9bec4c53d41d21d0fbf7f437fbfb7fa953ded01a0bc326b13bb2c8792beb24a75bf000080bf0000000000000000000000007bfb7f3f0000c03ea52bf5402243833e000000002faba6bec2283e41fa4fedbe8239703b03d4a23e16b5723fecc47fbf0102293dab7a23bc000080bf000000000000000000000000f9ff7f3f0000803ea52bf5402243833e000000003fcdb9be362d4d41fe264fbfbf8d5e3949be9e3e7f62733fa7ab7fbf013e45bd4979823c000080bf000000000000000000000000acff7f3f0000403fc64619416ce3a63e00000000889096be28ee4c41bcf95fbfb2187f3f2a01a43da034cebc9448f93af8768e3ec0e3753f000080bf000000000000000000000000f2ff7f3f0000203fc64619416ce3a63e0000000001efb9bedf924c41567370bf5f306bbbab0b7cbe551f78bfa7ab7f3f013e453d497982bc000080bf000000000000000000000000d09d7f3f0000003fc64619416ce3a63e00000000ca41dcbe46d34c41796b5fbff9f57fbf4f7d84bc6969da3bf74ff9baf8768ebec0e375bf000080bf0000000000000000000000001df37f3f0000c03ec64619416ce3a63e000000003ecdb9be362d4d41fe264fbfbf8d5e3949be9e3e7f62733fa7ab7fbf013e45bd4979823c000080bf000000000000000000000000acff7f3f0000803ec64619416ce3a63e000000005b8cdabe3c7e5c41174f8abfc53aac3b857f7d3e2707783f09ff7fbf5223273b6a669c3b000080bf0000000000000000000000000efc7f3f0000403fef934c418570d03e00000000cbc8c9be79605c418e818ebf76dd7f3ff62cf73c942f44bc01c4aa3bd2185c3e5c037a3f000080bf000000000000000000000000a9fa7f3f0000203fef934c418570d03e00000000f7b9dabe73435c41e7a792bf6afea8bb61773abe67b77bbf09ff7f3f522327bb6a669cbb000080bf000000000000000000000000d2e27f3f0000003fef934c418570d03e00000000100eecbe2c615c4116778ebffdd67fbf188a103d70811fbb01c4aabbd2185cbe5c037abf000080bf0000000000000000000000000000803f0000c03eef934c418570d03e000000005b8cdabe3c7e5c41174f8abfc53aac3b857f7d3e2707783f09ff7fbf5223273b6a669c3b000080bf0000000000000000000000000efc7f3f0000803eef934c418570d03e00000000f2bab8bea0e16b41f179a6bf537b0d3c6306763edd7d783f126c7fbf6ea2883d3942fabb000080bf0000000000000000000000004efe7f3f0000403fedaeb2417fd0ff3e00000000f2bab8bea0e16b41f179a6bfc9f77f3f5d7080bcc90112bb1517a93b221e423ec95a7b3f000080bf00000000000000000000000050e67f3f0000203fedaeb2417fd0ff3e00000000f2bab8bea0e16b41f179a6bf580cdbba60af0dbe8b897dbf126c7f3f70a288bd8141fa3b000080bf00000000000000000000000026f97f3f0000003fedaeb2417fd0ff3e00000000f2bab8bea0e16b41f179a6bf602f7ebf1ccaf03db0358fbcd115a9bb231e42bec95a7bbf000080bf0000000000000000000000000000803f0000c03eedaeb2417fd0ff3e00000000f2bab8bea0e16b41f179a6bf0e7c0d3c6206763edd7d783f126c7fbf6fa2883dc441fabb000080bf0000000000000000000000004efe7f3f0000803eedaeb2417fd0ff3e00000000 - m_CompressedMesh: - m_Vertices: - m_NumItems: 0 - m_Range: 0 - m_Start: 0 - m_Data: - m_BitSize: 0 - m_UV: - m_NumItems: 0 - m_Range: 0 - m_Start: 0 - m_Data: - m_BitSize: 0 - m_Normals: - m_NumItems: 0 - m_Range: 0 - m_Start: 0 - m_Data: - m_BitSize: 0 - m_Tangents: - m_NumItems: 0 - m_Range: 0 - m_Start: 0 - m_Data: - m_BitSize: 0 - m_Weights: - m_NumItems: 0 - m_Data: - m_BitSize: 0 - m_NormalSigns: - m_NumItems: 0 - m_Data: - m_BitSize: 0 - m_TangentSigns: - m_NumItems: 0 - m_Data: - m_BitSize: 0 - m_FloatColors: - m_NumItems: 0 - m_Range: 0 - m_Start: 0 - m_Data: - m_BitSize: 0 - m_BoneIndices: - m_NumItems: 0 - m_Data: - m_BitSize: 0 - m_Triangles: - m_NumItems: 0 - m_Data: - m_BitSize: 0 - m_UVInfo: 0 - m_LocalAABB: - m_Center: {x: -0.07036564, y: 7.371292, z: -0.30755773} - m_Extent: {x: 0.57326114, y: 7.371292, z: 0.99303865} - m_MeshUsageFlags: 0 - m_BakedConvexCollisionMesh: - m_BakedTriangleCollisionMesh: - m_MeshMetrics[0]: 1 - m_MeshMetrics[1]: 1 - m_MeshOptimized: 0 - m_StreamData: - offset: 0 - size: 0 - path: ---- !u!114 &114412932522947144 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 0} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 12106, guid: 0000000000000000e000000000000000, type: 0} - m_Name: Tree Data - m_EditorClassIdentifier: - _uniqueID: 5 - materialHash: 31d6cfe0d16ae931b73c59d7e0c089c0-583008256 - root: - _uniqueID: 1 - seed: 1234 - _internalSeed: 2727 - m_Hash: - distributionFrequency: 1 - distributionMode: 0 - distributionCurve: - serializedVersion: 2 - m_Curve: - - serializedVersion: 3 - time: 0 - value: 1 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0 - outWeight: 0 - - serializedVersion: 3 - time: 1 - value: 1 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0 - outWeight: 0 - m_PreInfinity: 2 - m_PostInfinity: 2 - m_RotationOrder: 4 - distributionNodes: 5 - distributionTwirl: 0 - distributionPitch: 0 - distributionPitchCurve: - serializedVersion: 2 - m_Curve: - - serializedVersion: 3 - time: 0 - value: 1 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0 - outWeight: 0 - - serializedVersion: 3 - time: 1 - value: 1 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0 - outWeight: 0 - m_PreInfinity: 2 - m_PostInfinity: 2 - m_RotationOrder: 4 - distributionScale: 1 - distributionScaleCurve: - serializedVersion: 2 - m_Curve: - - serializedVersion: 3 - time: 0 - value: 1 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0 - outWeight: 0 - - serializedVersion: 3 - time: 1 - value: 0.3 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0 - outWeight: 0 - m_PreInfinity: 2 - m_PostInfinity: 2 - m_RotationOrder: 4 - showAnimationProps: 1 - animationPrimary: 0.5 - animationSecondary: 0.5 - animationEdge: 1 - visible: 1 - lockFlags: 0 - nodeIDs: 02000000 - parentGroupID: -1 - childGroupIDs: 03000000 - adaptiveLODQuality: 0.8 - shadowTextureQuality: 3 - enableWelding: 1 - enableAmbientOcclusion: 1 - enableMaterialOptimize: 1 - aoDensity: 1 - rootSpread: 5 - groundOffset: 0 - rootMatrix: - e00: 1 - e01: 0 - e02: 0 - e03: 0 - e10: 0 - e11: 1 - e12: 0 - e13: 0 - e20: 0 - e21: 0 - e22: 1 - e23: 0 - e30: 0 - e31: 0 - e32: 0 - e33: 1 - branchGroups: - - _uniqueID: 3 - seed: 1234 - _internalSeed: 2727 - m_Hash: - distributionFrequency: 1 - distributionMode: 0 - distributionCurve: - serializedVersion: 2 - m_Curve: - - serializedVersion: 3 - time: 0 - value: 1 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0 - outWeight: 0 - - serializedVersion: 3 - time: 1 - value: 1 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0 - outWeight: 0 - m_PreInfinity: 2 - m_PostInfinity: 2 - m_RotationOrder: 4 - distributionNodes: 5 - distributionTwirl: 0 - distributionPitch: 0 - distributionPitchCurve: - serializedVersion: 2 - m_Curve: - - serializedVersion: 3 - time: 0 - value: 1 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0 - outWeight: 0 - - serializedVersion: 3 - time: 1 - value: 1 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0 - outWeight: 0 - m_PreInfinity: 2 - m_PostInfinity: 2 - m_RotationOrder: 4 - distributionScale: 1 - distributionScaleCurve: - serializedVersion: 2 - m_Curve: - - serializedVersion: 3 - time: 0 - value: 1 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0 - outWeight: 0 - - serializedVersion: 3 - time: 1 - value: 0.3 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0 - outWeight: 0 - m_PreInfinity: 2 - m_PostInfinity: 2 - m_RotationOrder: 4 - showAnimationProps: 1 - animationPrimary: 0.5 - animationSecondary: 0 - animationEdge: 1 - visible: 1 - lockFlags: 0 - nodeIDs: 04000000 - parentGroupID: 1 - childGroupIDs: - lodQualityMultiplier: 1 - geometryMode: 0 - materialBranch: {fileID: 0} - materialBreak: {fileID: 0} - materialFrond: {fileID: 0} - height: {x: 10, y: 15} - radius: 0.5 - radiusCurve: - serializedVersion: 2 - m_Curve: - - serializedVersion: 3 - time: 0 - value: 1 - inSlope: -1 - outSlope: -1 - tangentMode: 0 - weightedMode: 0 - inWeight: 0 - outWeight: 0 - - serializedVersion: 3 - time: 1 - value: 0 - inSlope: -1 - outSlope: -1 - tangentMode: 0 - weightedMode: 0 - inWeight: 0 - outWeight: 0 - m_PreInfinity: 2 - m_PostInfinity: 2 - m_RotationOrder: 4 - radiusMode: 1 - capSmoothing: 0 - crinklyness: 0.1 - crinkCurve: - serializedVersion: 2 - m_Curve: - - serializedVersion: 3 - time: 0 - value: 1 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0 - outWeight: 0 - - serializedVersion: 3 - time: 1 - value: 1 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0 - outWeight: 0 - m_PreInfinity: 2 - m_PostInfinity: 2 - m_RotationOrder: 4 - seekBlend: 0 - seekCurve: - serializedVersion: 2 - m_Curve: - - serializedVersion: 3 - time: 0 - value: 1 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0 - outWeight: 0 - - serializedVersion: 3 - time: 1 - value: 1 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0 - outWeight: 0 - m_PreInfinity: 2 - m_PostInfinity: 2 - m_RotationOrder: 4 - noise: 0.1 - noiseCurve: - serializedVersion: 2 - m_Curve: - - serializedVersion: 3 - time: 0 - value: 1 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0 - outWeight: 0 - - serializedVersion: 3 - time: 1 - value: 1 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0 - outWeight: 0 - m_PreInfinity: 2 - m_PostInfinity: 2 - m_RotationOrder: 4 - noiseScaleU: 0.2 - noiseScaleV: 0.1 - flareSize: 0 - flareHeight: 0.1 - flareNoise: 0.3 - weldHeight: 0.1 - weldSpreadTop: 0 - weldSpreadBottom: 0 - breakingChance: 0 - breakingSpot: {x: 0.4, y: 0.6} - frondCount: 1 - frondWidth: 1 - frondCurve: - serializedVersion: 2 - m_Curve: - - serializedVersion: 3 - time: 0 - value: 1 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0 - outWeight: 0 - - serializedVersion: 3 - time: 1 - value: 1 - inSlope: 0 - outSlope: 0 - tangentMode: 0 - weightedMode: 0 - inWeight: 0 - outWeight: 0 - m_PreInfinity: 2 - m_PostInfinity: 2 - m_RotationOrder: 4 - frondRange: {x: 0.1, y: 1} - frondRotation: 0 - frondCrease: 0 - leafGroups: [] - nodes: - - spline: - nodes: [] - tension: 0.5 - seed: 3961 - animSeed: 0 - visible: 1 - triStart: 0 - triEnd: 0 - vertStart: 0 - vertEnd: 0 - capRange: 0 - breakOffset: 1 - size: 5 - scale: 1 - offset: 0 - baseAngle: 0 - angle: 0 - pitch: -0 - rotation: {x: 0, y: 0, z: 0, w: 1} - matrix: - e00: 1 - e01: 0 - e02: 0 - e03: 0 - e10: 0 - e11: 1 - e12: 0 - e13: 0 - e20: 0 - e21: 0 - e22: 1 - e23: 0 - e30: 0 - e31: 0 - e32: 0 - e33: 1 - parentID: 0 - groupID: 1 - _uniqueID: 2 - - spline: - nodes: - - point: {x: 0, y: 0, z: 0} - rot: {x: 0, y: 0, z: 0, w: 1} - normal: {x: 0, y: 0, z: 1} - tangent: {x: 0, y: 1, z: 0} - time: 0 - - point: {x: -0.06821081, y: 0.98925984, z: 0.12927605} - rot: {x: 0.062532656, y: 0.00024414062, z: -0.004928376, w: 0.9980307} - normal: {x: 0, y: -0.1248219, z: 0.9921792} - tangent: {x: 0.009876995, y: 0.99213076, z: 0.12481581} - time: 0.066715024 - - point: {x: 0.019693486, y: 1.978184, z: 0.24886703} - rot: {x: 0.017959693, y: 0.0010780959, z: -0.0353372, w: 0.9992136} - normal: {x: 0.0008796333, y: -0.03596793, z: 0.9993526} - tangent: {x: 0.070657566, y: 0.99685746, z: 0.035815936} - time: 0.13343005 - - point: {x: 0.07258296, y: 2.9756193, z: 0.20064364} - rot: {x: 0.003932862, y: 0.0014850495, z: -0.013233232, w: 0.9999036} - normal: {x: 0.0028675725, y: -0.007902348, z: 0.99996465} - tangent: {x: 0.026475683, y: 0.9996188, z: 0.007823692} - time: 0.20014508 - - point: {x: 0.072543085, y: 3.9735794, z: 0.26448435} - rot: {x: 0.0066592684, y: 0.0012685918, z: 0.012649453, w: 0.999897} - normal: {x: 0.0027249986, y: -0.013283712, z: 0.9999081} - tangent: {x: -0.025278963, y: 0.9995913, z: 0.013348394} - time: 0.2668601 - - point: {x: 0.022105657, y: 4.971614, z: 0.22729787} - rot: {x: -0.027515147, y: 0.001979648, z: 0.053853765, w: 0.9981677} - normal: {x: 0.0009889281, y: 0.055143304, z: 0.998478} - tangent: {x: -0.10761923, y: 0.9926854, z: -0.054716803} - time: 0.33357513 - - point: {x: -0.14230731, y: 5.9553704, z: 0.15524805} - rot: {x: -0.02848871, y: 0.002735029, z: 0.08218043, w: 0.99620646} - normal: {x: 0.0007647876, y: 0.057210647, z: 0.9983618} - tangent: {x: -0.16389336, y: 0.98486954, z: -0.056311928} - time: 0.40029016 - - point: {x: -0.30564016, y: 6.9411073, z: 0.11468807} - rot: {x: -0.024010954, y: 0.0027729045, z: 0.06834106, w: 0.99736917} - normal: {x: 0.0022513506, y: 0.048275046, z: 0.99883157} - tangent: {x: -0.13645616, y: 0.98950595, z: -0.047516756} - time: 0.46700516 - - point: {x: -0.41511247, y: 7.933605, z: 0.060251866} - rot: {x: -0.015886502, y: 0.002666056, z: 0.025855577, w: 0.9995359} - normal: {x: 0.0045086714, y: 0.031897344, z: 0.999481} - tangent: {x: -0.05177256, y: 0.9981582, z: -0.031621583} - time: 0.5337202 - - point: {x: -0.40898427, y: 8.933549, z: 0.05156767} - rot: {x: -0.03152512, y: 0.0016692866, z: 0.0070262053, w: 0.99947697} - normal: {x: 0.0028903158, y: 0.0630408, z: 0.99800676} - tangent: {x: -0.014150493, y: 0.9979136, z: -0.062993936} - time: 0.60043526 - - point: {x: -0.44336584, y: 9.926075, z: -0.06552407} - rot: {x: -0.08941015, y: 0.0014749812, z: 0.009551173, w: 0.995948} - normal: {x: 0.0012329905, y: 0.17812407, z: 0.9840073} - tangent: {x: -0.0192911, y: 0.9838292, z: -0.17806765} - time: 0.66715026 - - point: {x: -0.4474889, y: 10.897251, z: -0.3038516} - rot: {x: -0.12451831, y: -0.0037386217, z: -0.029239347, w: 0.99177945} - normal: {x: -0.00013343591, y: 0.247208, z: 0.96896243} - tangent: {x: 0.05892924, y: 0.9672805, z: -0.24677078} - time: 0.73386526 - - point: {x: -0.32574677, y: 11.856707, z: -0.55806315} - rot: {x: -0.14460535, y: -0.001953125, z: -0.02113897, w: 0.9892617} - normal: {x: 0.0022537734, y: 0.28618762, z: 0.95817095} - tangent: {x: 0.04238849, y: 0.95728487, z: -0.2860227} - time: 0.8005803 - - point: {x: -0.36302197, y: 12.804819, z: -0.8738048} - rot: {x: -0.14044851, y: 0.0045033856, z: 0.024964796, w: 0.98976296} - normal: {x: 0.0019024905, y: 0.2782463, z: 0.96050787} - tangent: {x: -0.05068393, y: 0.95930195, z: -0.2777966} - time: 0.8672953 - - point: {x: -0.4270262, y: 13.773637, z: -1.1131716} - rot: {x: -0.108110145, y: 0.0025106159, z: -0.0010139922, w: 0.9941353} - normal: {x: 0.005211346, y: 0.21494707, z: 0.9766118} - tangent: {x: 0.0014779901, y: 0.97662234, z: -0.21495728} - time: 0.9340103 - - point: {x: -0.36080128, y: 14.742584, z: -1.3005964} - rot: {x: -0.095250204, y: -0.0006224389, z: -0.033589084, w: 0.99488634} - normal: {x: 0.0051712976, y: 0.18956788, z: 0.981854} - tangent: {x: 0.0669529, y: 0.97959834, z: -0.189485} - time: 1 - tension: 0.5 - seed: 3961 - animSeed: 0 - visible: 1 - triStart: 0 - triEnd: 140 - vertStart: 0 - vertEnd: 88 - capRange: 0 - breakOffset: 1 - size: 0.49963757 - scale: 0.99927515 - offset: 0 - baseAngle: 0 - angle: 0 - pitch: -0 - rotation: {x: 0, y: 0, z: 0, w: 1} - matrix: - e00: 1 - e01: 0 - e02: 0 - e03: 0 - e10: 0 - e11: 1 - e12: 0 - e13: -0 - e20: 0 - e21: 0 - e22: 1 - e23: 0 - e30: 0 - e31: 0 - e32: 0 - e33: 1 - parentID: 2 - groupID: 3 - _uniqueID: 4 - mesh: {fileID: 43274217643936046} - optimizedSolidMaterial: {fileID: 21642922241295098} - optimizedCutoutMaterial: {fileID: 21027443205240300} - isInPreviewMode: 0 diff --git a/T3-Unity/Assets/Tree.prefab.meta b/T3-Unity/Assets/Tree.prefab.meta deleted file mode 100644 index e523b6dd234e81add60f56695facb00e4ab050ec..0000000000000000000000000000000000000000 --- a/T3-Unity/Assets/Tree.prefab.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: c94783d4ff0c15e41a7b69c0cffc93ab -PrefabImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/T3-Unity/Assets/Waypoints.cs b/T3-Unity/Assets/Waypoints.cs deleted file mode 100644 index 5ff57591f394e42beae8a2542a4d43741b3df507..0000000000000000000000000000000000000000 --- a/T3-Unity/Assets/Waypoints.cs +++ /dev/null @@ -1,14 +0,0 @@ -using UnityEngine; - -public class Waypoints : MonoBehaviour -{ - public static Transform[] points; - void Awake () - { - points = new Transform[transform.childCount]; - for (int i = 0; i < points.Length; i++) - { - points[i] = transform.GetChild(i); - } - } -} diff --git a/T3-Unity/Assets/Waypoints.cs.meta b/T3-Unity/Assets/Waypoints.cs.meta deleted file mode 100644 index d11fb64498859ccd786ab67fce54da36989125f2..0000000000000000000000000000000000000000 --- a/T3-Unity/Assets/Waypoints.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 6add06f09a417424da62b834017c9e6c -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/T3-Unity/Assets/Waypont.prefab b/T3-Unity/Assets/Waypont.prefab deleted file mode 100644 index e3c2133b7cdb611d7f03db5d45de0aadc4e7133a..0000000000000000000000000000000000000000 --- a/T3-Unity/Assets/Waypont.prefab +++ /dev/null @@ -1,32 +0,0 @@ -%YAML 1.1 -%TAG !u! tag:unity3d.com,2011: ---- !u!1 &8325809117985479030 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 733502478530697889} - m_Layer: 0 - m_Name: Waypont - m_TagString: Untagged - m_Icon: {fileID: 7174288486110832750, guid: 0000000000000000d000000000000000, type: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!4 &733502478530697889 -Transform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 8325809117985479030} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 5, y: 2, z: 15} - m_LocalScale: {x: 1, y: 1, z: 1} - m_Children: [] - m_Father: {fileID: 0} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} diff --git a/T3-Unity/Assets/Waypont.prefab.meta b/T3-Unity/Assets/Waypont.prefab.meta deleted file mode 100644 index 9747464fffa3643653756975f8c0a82dc510f368..0000000000000000000000000000000000000000 --- a/T3-Unity/Assets/Waypont.prefab.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: cc90a1c3d59d88348ac1688eeefe258e -PrefabImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/T3-Unity/Assets/affichageLongitudeLatitude.cs b/T3-Unity/Assets/affichageLongitudeLatitude.cs deleted file mode 100644 index 4ec32f0641e32dd2ae69a749ad9536ff82264383..0000000000000000000000000000000000000000 --- a/T3-Unity/Assets/affichageLongitudeLatitude.cs +++ /dev/null @@ -1,62 +0,0 @@ -using System.Collections; -using System.Collections.Generic; -using UnityEngine; -using UnityEngine.UI; -using Mapbox.Unity.Map; -using Mapbox.Unity.Utilities; -using System.Collections.Generic; - -public class affichageLongitudeLatitude : MonoBehaviour -{ - private GameObject map; - private Text text; - private AbstractMap abstractmap; - public string location; - private float latitude; - private float longitude; - - // Start is called before the first frame update - void Start() - { - map = GameObject.Find("Map"); - //text = gameObject.GetComponent<Text>(); - text = GameObject.Find("TextLonLad").GetComponent<Text>(); - abstractmap = map.GetComponent<AbstractMap>(); - latitude = 0; - longitude = 0; - - } - - // Update is called once per frame - void Update() - { - Mapbox.Utils.Vector2d latlong; - if (location != "") - { - latlong = Conversions.StringToLatLon(location); - latitude = (float)latlong.x; - longitude = (float)latlong.y; - } - else - { - latlong = new Mapbox.Utils.Vector2d(0, 0); - } - - text.text = abstractmap.CenterLatitudeLongitude.x.ToString() + " " + abstractmap.CenterLatitudeLongitude.y.ToString() - + " \n" + - abstractmap.GeoToWorldPosition(abstractmap.CenterLatitudeLongitude).x.ToString() - + " " + - abstractmap.GeoToWorldPosition(abstractmap.CenterLatitudeLongitude).z.ToString() - + "\n\n" + - latitude.ToString() + " " + longitude.ToString() - + - "\n" - + - (location != "" || (latlong.x != 0 && latlong.y != 0)? "Latitude In Game : " + (abstractmap.GeoToWorldPosition(latlong).x).ToString() : "") - + "\n" + - (location != "" || (latlong.x != 0 && latlong.y != 0) ? "Longitude In Game : " + (abstractmap.GeoToWorldPosition(latlong).z).ToString() : "") - + - (location != "" || (latlong.x != 0 && latlong.y != 0) ? "Latitude In Game : " + (abstractmap.WorldToGeoPosition(new Vector3(abstractmap.GeoToWorldPosition(latlong).x, 0, abstractmap.GeoToWorldPosition(latlong).z)).x).ToString() : "") - + "\n"; - } -} diff --git a/T3-Unity/Assets/affichageLongitudeLatitude.cs.meta b/T3-Unity/Assets/affichageLongitudeLatitude.cs.meta deleted file mode 100644 index 955f465ace4a873ee4e96644e63c1a309a5e0353..0000000000000000000000000000000000000000 --- a/T3-Unity/Assets/affichageLongitudeLatitude.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: b1bc67de865dee247b2bc7963b63743a -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/T3-Unity/Assets/clickchangetext.cs b/T3-Unity/Assets/clickchangetext.cs deleted file mode 100644 index ae0e99ae96a5c5663790a35b90da4c9fbde9dc02..0000000000000000000000000000000000000000 --- a/T3-Unity/Assets/clickchangetext.cs +++ /dev/null @@ -1,13 +0,0 @@ -using System.Collections; -using System.Collections.Generic; -using UnityEngine; -using UnityEngine.UI; -public class clickchangetext : MonoBehaviour -{ - // Start is called before the first frame update - public Text textshowed = null; - public void ChangeText(string text) - { - textshowed.text = text; - } -} diff --git a/T3-Unity/Assets/clickchangetext.cs.meta b/T3-Unity/Assets/clickchangetext.cs.meta deleted file mode 100644 index c413e33f95dc9acb23a6a7573b3ab78a3b2c15fa..0000000000000000000000000000000000000000 --- a/T3-Unity/Assets/clickchangetext.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 38d8d2126ab6a0a47a71d4401ef490cf -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/T3-Unity/Assets/destination.cs b/T3-Unity/Assets/destination.cs deleted file mode 100644 index 3b74287ff5574f43ab1ce8a8e00a43cf34655bfe..0000000000000000000000000000000000000000 --- a/T3-Unity/Assets/destination.cs +++ /dev/null @@ -1,90 +0,0 @@ -using Mapbox.Unity; -using System; -using UnityEngine; -using UnityEngine.UI; -using Mapbox.Json; -using Mapbox.Directions; -using Mapbox.Utils; -using Mapbox.Utils.JsonConverters; -using Mapbox.Geocoding; -using Scripts.MapBox; - -public class destination : MonoBehaviour -{ - [SerializeField] - Text _resultsText; - - [SerializeField] - ForwardGeocodeUserInput _startLocationGeocoder; - - [SerializeField] - ForwardGeocodeUserInput _endLocationGeocoder; - - Directions _directions; - - Vector2d[] _coordinates; - - DirectionResource _directionResource; - - void Start() - { - _directions = MapboxAccess.Instance.Directions; - _startLocationGeocoder.OnGeocoderResponse += _startLocationGeocoder_OnGeocoderResponse; - _endLocationGeocoder.OnGeocoderResponse += _endLocationGeocoder_OnGeocoderResponse; - - _coordinates = new Vector2d[2]; - - // Can we make routing profiles an enum? - _directionResource = new DirectionResource(_coordinates, RoutingProfile.Driving); - _directionResource.Steps = true; - } - - private void _endLocationGeocoder_OnGeocoderResponse(ForwardGeocodeResponse obj) - { - _coordinates[1] = _endLocationGeocoder.Coordinate; - if (ShouldRoute()) - { - Route(); - } - } - - private void _startLocationGeocoder_OnGeocoderResponse(ForwardGeocodeResponse obj) - { - _coordinates[0] = _startLocationGeocoder.Coordinate; - if (ShouldRoute()) - { - Route(); - } - } - - /// <summary> - /// Ensure both forward geocoders have a response, which grants access to their respective coordinates. - /// </summary> - /// <returns><c>true</c>, if both forward geocoders have a response, <c>false</c> otherwise.</returns> - bool ShouldRoute() - { - return _startLocationGeocoder.HasResponse && _endLocationGeocoder.HasResponse; - } - - /// <summary> - /// Route - /// </summary> - void Route() - { - _directionResource.Coordinates = _coordinates; - _directions.Query(_directionResource, HandleDirectionsResponse); - } - /// <summary> - /// Log directions response to UI. - /// </summary> - /// <param name="res">Res.</param> - void HandleDirectionsResponse(DirectionsResponse res) - { - var data = JsonConvert.SerializeObject(res, Formatting.Indented, JsonConverters.Converters); - string sub = data.Substring(0, data.Length > 5000 ? 5000 : data.Length) + "\n. . . "; - _resultsText.text = sub; - System.IO.File.WriteAllText(Application.dataPath + "\\test.json", data); - } - - -} diff --git a/T3-Unity/Assets/destination.cs.meta b/T3-Unity/Assets/destination.cs.meta deleted file mode 100644 index 7047b0d8b94cb3526bd8166b3460c12702fd9887..0000000000000000000000000000000000000000 --- a/T3-Unity/Assets/destination.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: a00f8a4d6e35ff7439cc585130aad999 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: